Use print() for Python 3 compatibility.

This doesn't get everything working in Python 3 yet but it's a
start.
This commit is contained in:
Simon Howard 2014-02-04 02:12:50 +00:00
parent 83a44dbc39
commit b5d0a04088
4 changed files with 9 additions and 9 deletions

View file

@ -155,7 +155,7 @@ def mapping_for_size(size):
return result
if len(sys.argv) != 2:
print "Usage: %s <filename>" % sys.argv[0]
print("Usage: %s <filename>" % sys.argv[0])
sys.exit(1)
mappings = (