From 30512c4d5db5ce36d6829d955087bfb025cdecf7 Mon Sep 17 00:00:00 2001 From: Kosta Date: Tue, 18 Feb 2014 12:27:54 +0100 Subject: [PATCH] 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`). --- scripts/generateSingleHeader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/generateSingleHeader.py b/scripts/generateSingleHeader.py index b1f9ae88..243aa875 100644 --- a/scripts/generateSingleHeader.py +++ b/scripts/generateSingleHeader.py @@ -29,13 +29,13 @@ for arg in sys.argv[1:]: arg = string.lower(arg) if arg == "nobump": bumpVersion = False - print "Not bumping version number" + print( "Not bumping version number" ) elif arg == "noimpl": includeImpl = False bumpVersion = False - print "Not including impl code (and not bumping version)" + print( "Not including impl code (and not bumping version)" ) else: - print "\n** Unrecognised argument: " + arg + " **\n" + print( "\n** Unrecognised argument: " + arg + " **\n" ) exit(1) out = open( outputPath, 'w' )