diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-10-08 12:39:10 +0100 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-11-04 12:40:53 +0000 |
commit | cc21ae668bfb6a0cfda557423fa5ea01c30a52b8 (patch) | |
tree | 6a8e711ecc5282cdc419f2be73a61c0934011306 | |
parent | e03ebb6dc1a774efd82e229ec24be42ecb9c27cd (diff) | |
download | import-cc21ae668bfb6a0cfda557423fa5ea01c30a52b8.tar.gz |
enum from 1
-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 54a4871..4bd2948 100755 --- a/import/pip.to_lorry +++ b/import/pip.to_lorry @@ -54,7 +54,7 @@ def make_lorry(name, url): }''' % (name, url) def ask_user(client, xs, fn): - for n, x in enumerate(xs): + for n, x in enumerate(xs, 1): print('%s: %s' % (n, fn(x))) s = raw_input('--> ') |