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: |