diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-10-09 12:13:09 +0100 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-11-04 12:40:54 +0000 |
commit | 76efe9188bdaff089106a8ae4bca2aef885c33d3 (patch) | |
tree | 13c74b1651dfc6d1662cc7e8ee1f2bdee7da0659 | |
parent | 076a37ebf423e8f637126c8bb2cee237dd30ab80 (diff) | |
download | import-76efe9188bdaff089106a8ae4bca2aef885c33d3.tar.gz |
Pretty print the lorry output
-rwxr-xr-x | import/pip.to_lorry | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import/pip.to_lorry b/import/pip.to_lorry index 10c9da7..22de654 100755 --- a/import/pip.to_lorry +++ b/import/pip.to_lorry @@ -87,7 +87,7 @@ def make_tarball_lorry(name, url): if compression: lorry['compression'] = compression - return "%s-tarball: { %s }" % (name, json.dumps(lorry)) + return "%s-tarball: %s" % (name, json.dumps(lorry, indent=4, sort_keys=True)) def ask_user(client, xs, fn, prompt='--> '): for n, x in enumerate(xs, 1): |