Commit 21b893b7 authored by maruel@chromium.org's avatar maruel@chromium.org

Stop showing "Presubmit errors, can't continue (use --no_presubmit to bypass)"...

Stop showing "Presubmit errors, can't continue (use --no_presubmit to bypass)" when running gcl presubmit!

TEST=none
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18078 0039d316-1c4b-4281-b951-d872f2087c98
parent bc50eb4a
...@@ -1040,7 +1040,7 @@ def DoPresubmitChecks(change_info, committing, may_prompt): ...@@ -1040,7 +1040,7 @@ def DoPresubmitChecks(change_info, committing, may_prompt):
input_stream=sys.stdin, input_stream=sys.stdin,
default_presubmit=root_presubmit, default_presubmit=root_presubmit,
may_prompt=may_prompt) may_prompt=may_prompt)
if not result: if not result and may_prompt:
print "\nPresubmit errors, can't continue (use --no_presubmit to bypass)" print "\nPresubmit errors, can't continue (use --no_presubmit to bypass)"
return result return result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment