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

Unified Diff: gcl.py

Issue 119436: Don't display the warning is not prompting anyway. (Closed)
Patch Set: Created 11 years, 6 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: gcl.py
diff --git a/gcl.py b/gcl.py
index ddcb205fefb1aa829eac20e46e2e122cda331c54..7223585ada15740bc948c7f7ef303f95afa0e5e8 100755
--- a/gcl.py
+++ b/gcl.py
@@ -1040,7 +1040,7 @@ def DoPresubmitChecks(change_info, committing, may_prompt):
input_stream=sys.stdin,
default_presubmit=root_presubmit,
may_prompt=may_prompt)
- if not result:
+ if not result and may_prompt:
print "\nPresubmit errors, can't continue (use --no_presubmit to bypass)"
return result
« 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