scons: use python3-compatible print()
[mesa.git] / src / SConscript
index bd20d4e2108b463f450e7636904763eec6c5db90..a277e8b79254588e8fd4dc5e1d8fad2e4ef340a3 100644 (file)
@@ -30,7 +30,7 @@ def write_git_sha1_h_file(filename):
         try:
             subprocess.Popen(args, stdout=f).wait()
         except:
-            print "Warning: exception in write_git_sha1_h_file()"
+            print("Warning: exception in write_git_sha1_h_file()")
             return
 
     if not os.path.exists(filename) or not filecmp.cmp(tempfile, filename):