| Index: git_cl.py
|
| diff --git a/git_cl.py b/git_cl.py
|
| index 728bae7abcf41c980e58db900554f3c9fbb58fe4..fd3662d977e876306e4f682b6ddecb4e7aaf7e4f 100755
|
| --- a/git_cl.py
|
| +++ b/git_cl.py
|
| @@ -3071,6 +3071,7 @@ def main(argv):
|
| DieWithError(
|
| ('AppEngine is misbehaving and returned HTTP %d, again. Keep faith '
|
| 'and retry or visit go/isgaeup.\n%s') % (e.code, str(e)))
|
| + return 0
|
|
|
|
|
| if __name__ == '__main__':
|
| @@ -3078,4 +3079,8 @@ if __name__ == '__main__':
|
| # unit testing.
|
| fix_encoding.fix_encoding()
|
| colorama.init()
|
| - sys.exit(main(sys.argv[1:]))
|
| + try:
|
| + sys.exit(main(sys.argv[1:]))
|
| + except KeyboardInterrupt:
|
| + sys.stderr.write('interrupted\n')
|
| + sys.exit(1)
|
|
|