Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 6501001: Fix a bug in git_cl/PRESUBMIT.py causing it to fail. (Closed)

Created:
9 years, 10 months ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Fix a bug in git_cl/PRESUBMIT.py causing it to fail. When I renamed setup_mock to local_rietveld, I had forgot one place in PRESUBMIT.py. TBR=evan BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74627

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M git_cl/PRESUBMIT.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
M-A Ruel
9 years, 10 months ago (2011-02-11 17:54:03 UTC) #1
Evan Martin
9 years, 10 months ago (2011-02-11 19:34:14 UTC) #2
LGTM

On Fri, Feb 11, 2011 at 9:54 AM,  <maruel@chromium.org> wrote:
> Reviewers: Evan Martin,
>
> Description:
> Fix a bug in git_cl/PRESUBMIT.py causing it to fail.
>
> When I renamed setup_mock to local_rietveld, I had forgot one place in
> PRESUBMIT.py.
>
> TBR=evan
> BUG=none
> TEST=none
>
> Please review this at http://codereview.chromium.org/6501001/
>
> SVN Base: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
>
> Affected files:
>  M git_cl/PRESUBMIT.py
>
>
> Index: git_cl/PRESUBMIT.py
> diff --git a/git_cl/PRESUBMIT.py b/git_cl/PRESUBMIT.py
> index
>
aaeafaf38b9e72359dabf6583ec3ac110d179f3b..8d2b16050bfcee9aca92de2b1d2df7a28a72f6d7
> 100644
> --- a/git_cl/PRESUBMIT.py
> +++ b/git_cl/PRESUBMIT.py
> @@ -63,7 +63,7 @@ def RunTests(input_api, output_api):
>       proc.communicate()
>       if proc.returncode != 0:
>         output.append(output_api.PresubmitError('%s failed' % test))
> -  except setup_mock.Failure, e:
> +  except local_rietveld.Failure, e:
>     output.append(output_api.PresubmitError('\n'.join(str(i) for i in
> e.args)))
>   finally:
>     server.stop_server()
>
>
>

Powered by Google App Engine
This is Rietveld 408576698