diff -r b0996e4a289e -r 1d8dd9706f46 Utilities/Startup.py --- a/Utilities/Startup.py Fri Jan 01 16:11:36 2010 +0000 +++ b/Utilities/Startup.py Sat Jan 02 15:11:35 2010 +0000 @@ -61,15 +61,14 @@ ] options.extend(appinfo["options"]) - print \ -""" + print(""" Usage: %(bin)s [OPTIONS] %(arg)s %(name)s - %(description)s -Options:""" % appinfo +Options:""" % appinfo) for opt in options: - print " %s %s" % (opt[0].ljust(optlen), opt[1]) + print(" %s %s" % (opt[0].ljust(optlen), opt[1])) sys.exit(0) def version(appinfo): @@ -78,8 +77,7 @@ @param appinfo dictionary describing the application """ - print \ -""" + print(""" %(name)s %(version)s %(description)s @@ -87,7 +85,7 @@ Copyright (c) 2002 - 2009 Detlev Offenbach <detlev@die-offenbachs.de> This is free software; see LICENSE.GPL3 for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A -PARTICULAR PURPOSE.""" % appinfo +PARTICULAR PURPOSE.""" % appinfo) sys.exit(0) def handleArgs(argv, appinfo): @@ -127,8 +125,8 @@ if loaded: return (trans, True) - print "Warning: translation file '" + tn + "'could not be loaded." - print "Using default." + print("Warning: translation file '" + tn + "'could not be loaded.") + print("Using default.") return (None, False) def initializeResourceSearchPath():