File scim-sunpinyin-scons-on-py3.patch of Package scim-sunpinyin
Index: scim-sunpinyin-2.0.3/SConstruct
===================================================================
--- scim-sunpinyin-2.0.3.orig/SConstruct
+++ scim-sunpinyin-2.0.3/SConstruct
@@ -26,7 +26,7 @@ opts.Add('DATADIR', default='/usr/local/
def PassVariables(envvar, env):
for (x, y) in envvar:
if x in os.environ:
- print 'Warning: you\'ve set %s in the environmental variable!' % x
+ print ('Warning: you\'ve set %s in the environmental variable!' % x)
env[y] = os.environ[x]
env = Environment(ENV=os.environ,