Merge "Print an error message when aborted by user"

This commit is contained in:
Conley Owens 2012-11-12 17:35:47 -08:00 committed by Gerrit Code Review
commit 8e3d355d44

View File

@ -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