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

Issue 2002015: Fix missing variable name in exception handler. (Closed)

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

Description

Fix missing variable name in exception handler. TEST=should stop throwing an exception when retrying for git checkouts BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46960

Patch Set 1 #

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

Messages

Total messages: 3 (0 generated)
M-A Ruel
10 years, 7 months ago (2010-05-11 20:54:52 UTC) #1
M-A Ruel
10 years, 7 months ago (2010-05-11 20:56:02 UTC) #2
brettw at google
10 years, 7 months ago (2010-05-11 20:59:15 UTC) #3
LGTM

On Tue, May 11, 2010 at 1:54 PM,  <maruel@chromium.org> wrote:
> Reviewers: brett_chromium.org,
>
> Description:
> Fix missing variable name in exception handler.
>
> TEST=should stop throwing an exception when retrying for git checkouts
> BUG=none
>
> Please review this at http://codereview.chromium.org/2002015/show
>
> Affected files:
>  M gclient_scm.py
>
>
> Index: gclient_scm.py
> diff --git a/gclient_scm.py b/gclient_scm.py
> index
>
e51a0eecb254bb47d937bc64347db6519350b340..3a0b5371ce68198bd32483c4d0a9406952e14819
> 100644
> --- a/gclient_scm.py
> +++ b/gclient_scm.py
> @@ -260,7 +260,7 @@ class GitWrapper(SCMWrapper):
>             self.checkout_path,
>             print_error=False)
>         break
> -      except gclient_utils.CheckCallError:
> +      except gclient_utils.CheckCallError, e:
>         # Hackish but at that point, git is known to work so just checking
> for
>         # 502 in stderr should be fine.
>         if '502' in e.stderr:
>
>
>

Powered by Google App Engine
This is Rietveld 408576698