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

Unified Diff: gclient_scm.py

Issue 2002015: Fix missing variable name in exception handler. (Closed)
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698