Make the "tree is closed" presubmit check an error, not a
warning. pressing "y" is too easy. It's better to have to
use "--force" or "--no_presubmit"

Review URL: http://codereview.chromium.org/159596

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21978 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index cbe2d9f..8e0ac49 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -135,8 +135,8 @@
           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 []