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

Unified Diff: presubmit_canned_checks.py

Issue 1232007: When the tree is closed, it's closed. (Closed)
Patch Set: Created 10 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 | « no previous file | tests/presubmit_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: presubmit_canned_checks.py
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py
index 52081912b6665a23edaafe5d7c32991b6d998192..901a755ada410dfab7abd7868e37478dc06ad5ac 100644
--- a/presubmit_canned_checks.py
+++ b/presubmit_canned_checks.py
@@ -352,8 +352,8 @@ def CheckTreeIsOpen(input_api, output_api, url, closed):
connection.close()
if input_api.re.match(closed, status):
long_text = status + '\n' + url
- return [output_api.PresubmitPromptWarning('The tree is closed.',
- long_text=long_text)]
+ return [output_api.PresubmitError('The tree is closed dude!',
+ long_text=long_text)]
except IOError:
pass
return []
« no previous file with comments | « no previous file | tests/presubmit_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698