diff options
Diffstat (limited to 'utils/common/tarball.py')
-rwxr-xr-x | utils/common/tarball.py | 6 |
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 | |||
5 | import sys | 5 | import sys |
6 | 6 | ||
7 | if len(sys.argv) < 2: | 7 | if len(sys.argv) < 2: |
8 | print "Usage: %s <version|hash>" % sys.argv[0] | 8 | print("Usage: %s <version|hash>" % sys.argv[0]) |
9 | sys.exit() | 9 | sys.exit() |
10 | 10 | ||
11 | repository = os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../..") | 11 | repository = os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../..") |
@@ -17,7 +17,7 @@ if '.' in sys.argv[1]: | |||
17 | if ref in refs: | 17 | if ref in refs: |
18 | tree = refs[ref] | 18 | tree = refs[ref] |
19 | else: | 19 | else: |
20 | print "Could not find hash for version!" | 20 | print("Could not find hash for version!") |
21 | sys.exit() | 21 | sys.exit() |
22 | else: | 22 | else: |
23 | tree = sys.argv[1] | 23 | tree = sys.argv[1] |
@@ -25,6 +25,6 @@ else: | |||
25 | 25 | ||
26 | gitscraper.archive_files(repository, tree, [], basename, archive="7z") | 26 | gitscraper.archive_files(repository, tree, [], basename, archive="7z") |
27 | 27 | ||
28 | print "done." | 28 | print("done.") |
29 | 29 | ||
30 | 30 | ||