summaryrefslogtreecommitdiffstats
path: root/utils/common/tarball.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/common/tarball.py')
-rwxr-xr-xutils/common/tarball.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/common/tarball.py b/utils/common/tarball.py
index 57765a55c7..2e32776702 100755
--- a/utils/common/tarball.py
+++ b/utils/common/tarball.py
@@ -5,7 +5,7 @@ import os
import sys
if len(sys.argv) < 2:
- print "Usage: %s <version|hash>" % sys.argv[0]
+ print("Usage: %s <version|hash>" % sys.argv[0])
sys.exit()
repository = os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../..")
@@ -17,7 +17,7 @@ if '.' in sys.argv[1]:
if ref in refs:
tree = refs[ref]
else:
- print "Could not find hash for version!"
+ print("Could not find hash for version!")
sys.exit()
else:
tree = sys.argv[1]
@@ -25,6 +25,6 @@ else:
gitscraper.archive_files(repository, tree, [], basename, archive="7z")
-print "done."
+print("done.")