1Use print as a function in SConstruct build file for Py3 compatibility. 2This allow to run SCons on Python 3 3 4[Upstream status: https://github.com/codehero/benejson/pull/12] 5 6Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu> 7--- 8 benejson/SConscript | 4 ++-- 9 1 file changed, 2 insertions(+), 2 deletions(-) 10 11diff --git a/benejson/SConscript b/benejson/SConscript 12index b7c5d10..80b4875 100644 13--- a/benejson/SConscript 14+++ b/benejson/SConscript 15@@ -9,11 +9,11 @@ lib_env = lib_env.Clone() 16 conf = Configure(lib_env) 17 18 if not conf.CheckFunc("stpcpy"): 19- print "Did not find stpcpy(), using bnj local version" 20+ print("Did not find stpcpy(), using bnj local version") 21 conf.env.Append(CPPDEFINES = ["-Dstpcpy=bnj_local_stpcpy"]) 22 23 if not conf.CheckFunc("stpncpy"): 24- print "Did not find stpncpy(), using bnj local version" 25+ print("Did not find stpncpy(), using bnj local version") 26 conf.env.Append(CPPDEFINES = ["-Dstpncpy=bnj_local_stpncpy"]) 27 lib_env = conf.Finish() 28 29-- 302.21.0 31 32