diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-04-29 00:28:40 +0100 |
---|---|---|
committer | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-05-29 20:35:30 +0100 |
commit | c64348cc872907fc711b756dbc73693402ee2fa1 (patch) | |
tree | a505e36b2c31ce16ceb6d475c6f64d909139a6ad /lorry.zip-importer | |
parent | 74e237e27e072a6c8b8ad98c10af00ff5d806f80 (diff) | |
download | lorry-c64348cc872907fc711b756dbc73693402ee2fa1.tar.gz |
lorry.zip-importer: Delete version check for Python 1.6
I think Python 1 is well and truly dead now.
Diffstat (limited to 'lorry.zip-importer')
-rwxr-xr-x | lorry.zip-importer | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lorry.zip-importer b/lorry.zip-importer index 21778e4..836e46f 100755 --- a/lorry.zip-importer +++ b/lorry.zip-importer @@ -12,15 +12,10 @@ from os import popen, path from os.path import splitext -from sys import argv, exit, hexversion, stderr +from sys import argv, exit from time import mktime from zipfile import ZipFile -if hexversion < 0x01060000: - # The limiter is the zipfile module - stderr.write("import-zips.py: requires Python 1.6.0 or later.\n") - exit(1) - if len(argv) < 2: print('usage:', argv[0], '<zipfile>...') exit(1) |