mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
svg2pdftex.py: make print work with Python 2 and 3
This commit is contained in:
parent
14df9b74c4
commit
913619c80a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user