diff options
author | Dave Borowitz <dborowitz@google.com> | 2015-01-02 11:39:04 -0800 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2015-01-02 13:57:14 -0800 |
commit | 4abf8e6ef81e78469148b156ae2d2da70ace627a (patch) | |
tree | 7db9b9c053a89e1fbc1b38e4befd5d0840a261a1 /project.py | |
parent | 137d0131bf35b01db0d49e1d9720bbc526232c61 (diff) | |
download | git-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] |