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 [] |