Index: gclient_scm.py |
diff --git a/gclient_scm.py b/gclient_scm.py |
index 14bea413eba3211ee08cad4d2eeb4ebfa1bfa21c..748eef6b98a34cfdf374f54fe88b7ab7358874b7 100644 |
--- a/gclient_scm.py |
+++ b/gclient_scm.py |
@@ -1199,7 +1199,7 @@ class GitWrapper(SCMWrapper): |
return self._Capture(checkout_args) |
def _Fetch(self, options, remote=None, prune=False, quiet=False): |
- kill_timeout = float(os.getenv('GCLIENT_KILL_GIT_FETCH_AFTER', 0)) |
+ kill_timeout = float(getattr(options, 'fetch_timeout', 0)) |
cfg = gclient_utils.DefaultIndexPackConfig(self.url) |
fetch_cmd = cfg + [ |
'fetch', |