From f93b22e100890d6f0e36ab2847c9f43cc03d2d13 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 6 Jan 2012 20:08:13 -0500 Subject: [PATCH] Update aksetup. --- aksetup_helper.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aksetup_helper.py b/aksetup_helper.py index 487ecaa9..97c58f3b 100644 --- a/aksetup_helper.py +++ b/aksetup_helper.py @@ -737,7 +737,7 @@ def check_git_submodules(): print("not invoke git to check whether my submodules are up to date.") print("") print("The error was:") - print(e) + print(git_error) print("Hit Ctrl-C now if you'd like to think about the situation.") print("-------------------------------------------------------------------------") count_down_delay(delay=5) @@ -797,7 +797,9 @@ def check_git_submodules(): print("Hit Ctrl-C now if you'd like to think about the situation.") print("-------------------------------------------------------------------------") - count_down_delay(delay=10) + from os.path import exists + if not exists(".dirty-git-ok"): + count_down_delay(delay=10) -- GitLab