diff options
Diffstat (limited to 'redtools/romvisualizer.py')
-rw-r--r-- | redtools/romvisualizer.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/redtools/romvisualizer.py b/redtools/romvisualizer.py index 516ac91..c294556 100644 --- a/redtools/romvisualizer.py +++ b/redtools/romvisualizer.py @@ -1,3 +1,4 @@ +from __future__ import print_function #author: Bryan Bishop <kanzure@gmail.com> #date: 2012-01-13 import os @@ -7,7 +8,7 @@ changeset_numbers = range(1145, 1149) def take_snapshot_image(changeset_number): "turn main.asm into an image at a certain version" - print "reverting main.asm to r" + str(changeset_number) + print("reverting main.asm to r" + str(changeset_number)) #revert the file (it used to be common.asm) os.system("rm ../main.asm; rm ../common.asm; rm ../pokered.asm") @@ -15,7 +16,7 @@ def take_snapshot_image(changeset_number): os.system("hg revert ../common.asm -r" + str(changeset_number)) os.system("hg revert ../pokered.asm -r" + str(changeset_number)) - print "generating the image.." + print("generating the image..") #draw the image os.system("python romviz.py") |