summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2016-09-13 15:21:09 +0100
committerBen Copeland <ben.copeland@linaro.org>2016-09-13 15:21:31 +0100
commitf94b330c82a4f29511ed2b6ae9e127276fe7421c (patch)
treedfeb6ecd8d12e87a786d5cc1042dfcacef8cf0d1
parent76a0659a34ea848d2c4169ac0f3f4ef3de455257 (diff)
downloadpublishing-api-f94b330c82a4f29511ed2b6ae9e127276fe7421c.tar.gz
Remove ability to choose API V1/V2
Change-Id: I6f3e2983e899912e897e65ccb9377d5dfc1b9654
-rwxr-xr-xlinaro-cp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/linaro-cp.py b/linaro-cp.py
index f8ef453..066cfe5 100755
--- a/linaro-cp.py
+++ b/linaro-cp.py
@@ -219,7 +219,7 @@ def main():
parser = argparse.ArgumentParser(
description='Copy file(s) from source to destination')
parser.add_argument('-k', '--key', help='key used for the copy')
- parser.add_argument('-a', '--api_version', choices=('1', '2', '3'), default='3',
+ parser.add_argument('-a', '--api_version', choices=('3'), default='3',
help='API version to use. default=%(default)s')
parser.add_argument('--server', default='http://snapshots.linaro.org/',
help='Publishing API server. default=%(default)s')