Explorar o código

Merge "Print an error message when aborted by user"

Conley Owens %!s(int64=13) %!d(string=hai) anos
pai
achega
8e3d355d44
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      main.py

+ 1 - 0
main.py

@@ -397,6 +397,7 @@ def _Main(argv):
     finally:
       close_ssh()
   except KeyboardInterrupt:
+    print >>sys.stderr, 'aborted by user'
     result = 1
   except ManifestParseError as mpe:
     print >>sys.stderr, 'fatal: %s' % mpe