mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 03:02:24 +01:00
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:
parent
1c2fbe146b
commit
30512c4d5d
@ -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' )
|
||||||
|
Loading…
Reference in New Issue
Block a user