summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-04-29 00:26:22 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-05-29 20:35:15 +0100
commit74e237e27e072a6c8b8ad98c10af00ff5d806f80 (patch)
tree4a82d34560c269ebffea064e8650fdb7bdeedf4b
parent9953489966665b4cc21b12e0b9b37feff3e797a0 (diff)
downloadlorry-74e237e27e072a6c8b8ad98c10af00ff5d806f80.tar.gz
lorry.{g,}zip-importer: Fix remaining Python 3 syntax errors
These scripts were still using print as a statement. Found by pyflakes.
-rwxr-xr-xlorry.gzip-importer2
-rwxr-xr-xlorry.zip-importer2
2 files changed, 2 insertions, 2 deletions
diff --git a/lorry.gzip-importer b/lorry.gzip-importer
index 356a41a..4248f8b 100755
--- a/lorry.gzip-importer
+++ b/lorry.gzip-importer
@@ -10,7 +10,7 @@ from gzip import GzipFile
import struct
if len(argv) < 2:
- print 'usage:', argv[0], '<gzipfile>...'
+ print('usage:', argv[0], '<gzipfile>...')
exit(1)
branch_name = 'master'
diff --git a/lorry.zip-importer b/lorry.zip-importer
index 9e40a04..21778e4 100755
--- a/lorry.zip-importer
+++ b/lorry.zip-importer
@@ -22,7 +22,7 @@ if hexversion < 0x01060000:
exit(1)
if len(argv) < 2:
- print 'usage:', argv[0], '<zipfile>...'
+ print('usage:', argv[0], '<zipfile>...')
exit(1)
branch_name = 'master'