Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: git_cl.py

Issue 6794020: upload.py has a raw_input() that keeps on throwing crap, try to trap it as much as possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 1887cbb8da66afb7c4b698c3e291de82fd5c0c3b..d24bf7348cca9c05a6da70b03ba7e629b3825d69 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -984,6 +984,8 @@ def CMDupload(parser, args):
try:
issue, patchset = upload.RealMain(['upload'] + upload_args + args)
+ except KeyboardInterrupt:
+ sys.exit(1)
except:
# If we got an exception after the user typed a description for their
# change, back up the description before re-raising.
« no previous file with comments | « gcl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698