fix generateSingleHeader.py script

It looks like the `print` function needs `(` and `)` around its argument (at least for me on Windows with `Python 3.3.3`).
This commit is contained in:
Kosta 2014-02-18 12:27:54 +01:00
parent 1c2fbe146b
commit 30512c4d5d

View File

@ -29,13 +29,13 @@ for arg in sys.argv[1:]:
arg = string.lower(arg) arg = string.lower(arg)
if arg == "nobump": if arg == "nobump":
bumpVersion = False bumpVersion = False
print "Not bumping version number" print( "Not bumping version number" )
elif arg == "noimpl": elif arg == "noimpl":
includeImpl = False includeImpl = False
bumpVersion = False bumpVersion = False
print "Not including impl code (and not bumping version)" print( "Not including impl code (and not bumping version)" )
else: else:
print "\n** Unrecognised argument: " + arg + " **\n" print( "\n** Unrecognised argument: " + arg + " **\n" )
exit(1) exit(1)
out = open( outputPath, 'w' ) out = open( outputPath, 'w' )