git_cache: remove redundant code.

R=iannucci@chromium.org, nodir@chromium.org

Change-Id: If7d48775b01a55e884a4c1fd6c26b1ff65992f4e
Reviewed-on: https://chromium-review.googlesource.com/786823
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
changes/23/786823/2
Andrii Shyshkalov 7 years ago committed by Commit Bot
parent 25b1da95b3
commit 82d8dcd6e5

@ -509,7 +509,7 @@ class Mirror(object):
self.print(GIT_CACHE_CORRUPT_MESSAGE)
tempdir = self._ensure_bootstrapped(depth, bootstrap, force=True)
assert tempdir
self._fetch(tempdir or self.mirror_path, verbose, depth)
self._fetch(tempdir, verbose, depth)
finally:
if tempdir:
if os.path.exists(self.mirror_path):

Loading…
Cancel
Save