Index: infra/bots/assets/assets.py |
diff --git a/infra/bots/assets/assets.py b/infra/bots/assets/assets.py |
index 538a41b58596cef57b2383b3e72f4ec4bfce8972..b3989883389486dfb95ef2c36f672fba2d94f4b5 100755 |
--- a/infra/bots/assets/assets.py |
+++ b/infra/bots/assets/assets.py |
@@ -25,23 +25,23 @@ import utils |
def add(args): |
"""Add a new asset.""" |
- asset_utils.Asset.add(args.asset_name) |
+ asset_utils.Asset.add(args.asset_name, asset_utils.MultiStore()) |
def remove(args): |
"""Remove an asset.""" |
- asset_utils.Asset(args.asset_name).remove() |
+ asset_utils.Asset(args.asset_name, asset_utils.MultiStore()).remove() |
def download(args): |
"""Download the current version of an asset.""" |
- asset = asset_utils.Asset(args.asset_name, gsutil=args.gsutil) |
+ asset = asset_utils.Asset(args.asset_name, asset_utils.MultiStore()) |
asset.download_current_version(args.target_dir) |
def upload(args): |
"""Upload a new version of the asset.""" |
- asset = asset_utils.Asset(args.asset_name, gsutil=args.gsutil) |
+ asset = asset_utils.Asset(args.asset_name, asset_utils.MultiStore()) |
asset.upload_new_version(args.target_dir, commit=args.commit) |