From c58d11dd545a6193ac60a73351fdb7f1ea22eaf7 Mon Sep 17 00:00:00 2001 From: "hinoka@chromium.org" Date: Mon, 9 Jun 2014 23:34:35 +0000 Subject: [PATCH] Have git_cache print out download progress when bootstrapping the git cache BUG=261741,380958 Review URL: https://codereview.chromium.org/325903005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@275872 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/git_cache.py b/git_cache.py index a55f48ff8..086b479b8 100755 --- a/git_cache.py +++ b/git_cache.py @@ -265,9 +265,8 @@ class Mirror(object): try: tempdir = tempfile.mkdtemp() self.print('Downloading %s' % latest_checkout) - code, out, err = gsutil.check_call('cp', latest_checkout, tempdir) + code = gsutil.call('cp', latest_checkout, tempdir) if code: - self.print('%s\n%s' % (out, err)) return False filename = os.path.join(tempdir, latest_checkout.split('/')[-1])