support python 3 for building

python 2.6 is no longer supported

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6921 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2017-10-06 18:23:05 +00:00
parent 09134d125e
commit 80bc65beb1
7 changed files with 26 additions and 16 deletions

View file

@ -229,7 +229,7 @@ def RegServerFunc(target, source, env):
if ret:
raise SCons.Errors.UserError, "Unable to register %s" % target[0]
else:
print "Registered %s sucessfully" % target[0]
print("Registered %s sucessfully" % target[0])
return ret
return 0