summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
Diffstat (limited to 'PRESUBMIT.py')
-rwxr-xr-xPRESUBMIT.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index cbe2d9f..8e0ac49 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -135,8 +135,8 @@ def CheckTreeIsOpen(input_api, output_api, url, closed, url_text):
long_text = match.group(1).strip()
except IOError:
pass
- return [output_api.PresubmitPromptWarning("The tree is closed.",
- long_text=long_text)]
+ return [output_api.PresubmitError("The tree is closed.",
+ long_text=long_text)]
except IOError:
pass
return []