From 21b893b71c81dc9f1d2300233816e085d9e44731 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Wed, 10 Jun 2009 18:56:55 +0000 Subject: [PATCH] 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 --- gcl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcl.py b/gcl.py index ddcb205fef..7223585ada 100755 --- a/gcl.py +++ b/gcl.py @@ -1040,7 +1040,7 @@ def DoPresubmitChecks(change_info, committing, may_prompt): input_stream=sys.stdin, default_presubmit=root_presubmit, may_prompt=may_prompt) - if not result: + if not result and may_prompt: print "\nPresubmit errors, can't continue (use --no_presubmit to bypass)" return result