| Index: infra/bots/assets/asset_utils.py
|
| diff --git a/infra/bots/assets/asset_utils.py b/infra/bots/assets/asset_utils.py
|
| index 8a1404fc56445936d69a4763c7626973adb0d7a7..ae58d4539fbcf30fe55246daf4d3b8de41adc034 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):
|
|
|