svg2pdftex.py: make print work with Python 2 and 3

(cherry picked from commit 913619c80a)
This commit is contained in:
Uwe Stöhr 2017-11-22 23:26:58 +01:00 committed by Juergen Spitzmueller
parent 53ba30f411
commit 21380b9012

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"