diff options
Diffstat (limited to 'contrib/fast-import/import-zips.py')
-rwxr-xr-x | contrib/fast-import/import-zips.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fast-import/import-zips.py b/contrib/fast-import/import-zips.py index 8f2923d359..1936a730b2 100755 --- a/contrib/fast-import/import-zips.py +++ b/contrib/fast-import/import-zips.py @@ -15,8 +15,8 @@ from zipfile import ZipFile if hexversion < 0x01060000: # The limiter is the zipfile module - sys.stderr.write("import-zips.py: requires Python 1.6.0 or later.\n") - sys.exit(1) + stderr.write("import-zips.py: requires Python 1.6.0 or later.\n") + exit(1) if len(argv) < 2: print 'usage:', argv[0], '<zipfile>...' |