mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Use python3 print syntax
This commit is contained in:
parent
32c112a07e
commit
4f10c0a14b
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user