Convert from "print ..." to "print(...)"
[hooke.git] / doc / SConstruct
index b41697620b795283bed59e02bdf147cbb41a1af0..a06f315aafc506bbfd4769da68cc0f840fb362c4 100644 (file)
@@ -130,8 +130,8 @@ pkgtype = env["pkgtype"]
 
 # Dump internals if debugging.
 if debug:
-    print "Environment:"
-    print env.Dump()
+    print('Environment:')
+    print(env.Dump())
 
 # Get parameters from Sphinx config file.
 sphinxparams = {}
@@ -160,9 +160,9 @@ help_format = "   %-10s  %s\n"
 
 # Print banner if required.
 if not any(map(GetOption, ("silent", "clean", "help"))):
-    print
-    print "This is", description
-    print
+    print('')
+    print('This is {}'.format(description))
+    print('')
 
 # Build sphinx command-line options.
 opts = []