diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-10-09 17:17:19 +0100 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-11-04 12:40:55 +0000 |
commit | eea21f997745f170aa0e66f8109fa0784165ec71 (patch) | |
tree | 9c4d36a4d81528cf9be153baedb8213d429b2a3c | |
parent | 56cc5a5c2f239f3e3ff8e02a5f825f8b9ec699fa (diff) | |
download | import-eea21f997745f170aa0e66f8109fa0784165ec71.tar.gz |
Tarball should have -tarball suffix
-rwxr-xr-x | import/pip.to_lorry | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/import/pip.to_lorry b/import/pip.to_lorry index 2b80857..e10fc29 100755 --- a/import/pip.to_lorry +++ b/import/pip.to_lorry @@ -76,7 +76,8 @@ def make_tarball_lorry(name, url): if compression: lorry['compression'] = compression - return json.dumps({name.lower(): lorry}, indent=4, sort_keys=True) + return json.dumps({name.lower() + "-tarball": lorry}, + indent=4, sort_keys=True) def ask_user(client, xs, fn, prompt='--> '): for n, x in enumerate(xs, 1): |