Use python3 print syntax

(cherry picked from commit 4f10c0a14b)
This commit is contained in:
Juergen Spitzmueller 2017-11-23 08:16:10 +01:00
parent 21380b9012
commit 8994d89266
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ def runCommand(cmd):
'''
res = subprocess.check_call(cmd)
if res != 0:
print ("Command '%s' fails (exit code: %i)." % (res.cmd, res.returncode))
print("Command '%s' fails (exit code: %i)." % (res.cmd, res.returncode))
sys.exit(1)
InkscapeCmd = "inkscape"

View File

@ -38,7 +38,7 @@ def runCommand(cmd):
'''
res = subprocess.check_call(cmd)
if res != 0:
print "Command '%s' fails (exit code: %i)." % (res.cmd, res.returncode)
print("Command '%s' fails (exit code: %i)." % (res.cmd, res.returncode))
sys.exit(1)
InkscapeCmd = "inkscape"