Skip to content

Commit bdc149b

Browse files
Anonymousderickr
authored andcommitted
minor: Fix Python syntax errors in SConstruct
1 parent 01492c0 commit bdc149b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SConstruct

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,20 +511,20 @@ env = Environment(variables=env_vars, **envDict)
511511
del envDict
512512

513513
def fatal_error(env, msg, *args):
514-
print msg.format(*args)
514+
print (msg.format(*args))
515515
Exit(1)
516516

517517
def conf_error(env, msg, *args):
518-
print msg.format(*args)
519-
print "See {0} for details".format(env['CONFIGURELOG'].abspath)
518+
print (msg.format(*args))
519+
print ("See {0} for details".format(env['CONFIGURELOG'].abspath))
520520

521521
Exit(1)
522522

523523
env.AddMethod(fatal_error, 'FatalError')
524524
env.AddMethod(conf_error, 'ConfError')
525525

526526
if has_option('variables-help'):
527-
print env_vars.GenerateHelpText(env)
527+
print (env_vars.GenerateHelpText(env))
528528
Exit(0)
529529

530530
unknown_vars = env_vars.UnknownVariables()

0 commit comments

Comments
 (0)