mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-11-26 09:30:27 +08:00
Print an error message when aborted by user
Change-Id: If7378c5deaace0ac6ab2be961e38644d9373557d
This commit is contained in:
1
main.py
1
main.py
@@ -397,6 +397,7 @@ def _Main(argv):
|
|||||||
finally:
|
finally:
|
||||||
close_ssh()
|
close_ssh()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
print >>sys.stderr, 'aborted by user'
|
||||||
result = 1
|
result = 1
|
||||||
except ManifestParseError as mpe:
|
except ManifestParseError as mpe:
|
||||||
print >>sys.stderr, 'fatal: %s' % mpe
|
print >>sys.stderr, 'fatal: %s' % mpe
|
||||||
|
|||||||
Reference in New Issue
Block a user