upload.py has a raw_input() that keeps on throwing crap, try to trap it as much as possible.

Otherwise I get useless stack traces and the user too.

[email protected]
BUG=
TEST=

Review URL: http://codereview.chromium.org/6794020

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@80338 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gcl.py b/gcl.py
index 2b63e36..f936345 100755
--- a/gcl.py
+++ b/gcl.py
@@ -906,7 +906,10 @@
   # each file and concatenate them before passing it to upload.py.
   if change_info.patch is None:
     change_info.patch = GenerateDiff(change_info.GetFileNames())
-  issue, patchset = upload.RealMain(upload_arg, change_info.patch)
+  try:
+    issue, patchset = upload.RealMain(upload_arg, change_info.patch)
+  except KeyboardInterrupt:
+    sys.exit(1)
   if issue and patchset:
     change_info.issue = int(issue)
     change_info.patchset = int(patchset)