diff options
Diffstat (limited to 'infra/bots/assets/asset_utils.py')
-rw-r--r-- | infra/bots/assets/asset_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/bots/assets/asset_utils.py b/infra/bots/assets/asset_utils.py index 8a1404fc56..ae58d4539f 100644 --- a/infra/bots/assets/asset_utils.py +++ b/infra/bots/assets/asset_utils.py @@ -198,11 +198,11 @@ class GSStore(object): gs_path = GS_SUBDIR_TMPL % (self._gs_bucket, name) attempt_delete = True try: - subprocess.check_call(['gsutil', 'ls', gs_path]) + subprocess.check_call(self._gsutil + ['ls', gs_path]) except subprocess.CalledProcessError: attempt_delete = False if attempt_delete: - subprocess.check_call(['gsutil', 'rm', '-rf', gs_path]) + subprocess.check_call(self._gsutil + ['rm', '-rf', gs_path]) class MultiStore(object): |