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

Unified Diff: git_nav_downstream.py

Issue 277003002: Make git-nav-downstream not print a stack if you Ctrl-C it. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_nav_downstream.py
diff --git a/git_nav_downstream.py b/git_nav_downstream.py
index bce850e4163e05652b68faf83a392bccc62bf249..47508c2544a974fab0ba4dec442ebc8221355618 100755
--- a/git_nav_downstream.py
+++ b/git_nav_downstream.py
@@ -58,4 +58,7 @@ def main(args):
if __name__ == '__main__':
- sys.exit(main(sys.argv[1:]))
+ try:
+ sys.exit(main(sys.argv[1:]))
+ except KeyboardInterrupt:
+ pass
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698