scons: use python3-compatible print()
[mesa.git] / SConstruct
index 696718c8eb445341d714094c9f8c09a19fa35fa8..0215aa83073f120fe9df7258383db8b7d82fa983 100644 (file)
@@ -50,10 +50,10 @@ except KeyError:
     pass
 else:
     targets = targets.split(',')
-    print 'scons: warning: targets option is deprecated; pass the targets on their own such as'
-    print
-    print '  scons %s' % ' '.join(targets)
-    print
+    print('scons: warning: targets option is deprecated; pass the targets on their own such as')
+    print()
+    print('  scons %s' % ' '.join(targets))
+    print()
     COMMAND_LINE_TARGETS.append(targets)