summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorDave Borowitz <dborowitz@google.com>2015-01-02 11:39:04 -0800
committerDave Borowitz <dborowitz@google.com>2015-01-02 13:57:14 -0800
commit4abf8e6ef81e78469148b156ae2d2da70ace627a (patch)
tree7db9b9c053a89e1fbc1b38e4befd5d0840a261a1 /project.py
parent137d0131bf35b01db0d49e1d9720bbc526232c61 (diff)
downloadgit-repo-4abf8e6ef81e78469148b156ae2d2da70ace627a.tar.gz
Save cookies back to jar when fetching clone.bundle
Change-Id: I3ef71b5e7f8ee1cda66057e46ae234866c7258c4
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index ce27e7ab..6ed9f9d4 100644
--- a/project.py
+++ b/project.py
@@ -1949,7 +1949,7 @@ class Project(object):
1949 cmd += ['--proxy', os.environ['http_proxy']] 1949 cmd += ['--proxy', os.environ['http_proxy']]
1950 with self._GetBundleCookieFile(srcUrl) as cookiefile: 1950 with self._GetBundleCookieFile(srcUrl) as cookiefile:
1951 if cookiefile: 1951 if cookiefile:
1952 cmd += ['--cookie', cookiefile] 1952 cmd += ['--cookie', cookiefile, '--cookie-jar', cookiefile]
1953 if srcUrl.startswith('persistent-'): 1953 if srcUrl.startswith('persistent-'):
1954 srcUrl = srcUrl[len('persistent-'):] 1954 srcUrl = srcUrl[len('persistent-'):]
1955 cmd += [srcUrl] 1955 cmd += [srcUrl]