summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-11-12 17:35:47 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-11-12 17:35:47 -0800
commit8e3d355d448671e7c9b3409a3bbde971f90d7c28 (patch)
tree5a65a2b0990d70dd57962b337ef7b6074e5ea4ff /main.py
parent4a4776e9abfca33caca9f71f0f48c920065dbaf4 (diff)
parentb0936b0e2015a9f4f68824aac09d6248b14f2f9d (diff)
downloadgit-repo-8e3d355d448671e7c9b3409a3bbde971f90d7c28.tar.gz
Merge "Print an error message when aborted by user"
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index 41c3ec6c..b43a48fb 100755
--- a/main.py
+++ b/main.py
@@ -397,6 +397,7 @@ def _Main(argv):
397 finally: 397 finally:
398 close_ssh() 398 close_ssh()
399 except KeyboardInterrupt: 399 except KeyboardInterrupt:
400 print >>sys.stderr, 'aborted by user'
400 result = 1 401 result = 1
401 except ManifestParseError as mpe: 402 except ManifestParseError as mpe:
402 print >>sys.stderr, 'fatal: %s' % mpe 403 print >>sys.stderr, 'fatal: %s' % mpe