From: Juergen Spitzmueller Date: Thu, 23 Nov 2017 07:16:10 +0000 (+0100) Subject: Use python3 print syntax X-Git-Tag: lyx-2.4.0dev-acb2ca7b~4321 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4f10c0a14b8ac455be4bc430dec07f033b7282ac;p=features.git Use python3 print syntax --- diff --git a/lib/scripts/svg2pdftex.py b/lib/scripts/svg2pdftex.py index dc79b43273..941a58776f 100644 --- a/lib/scripts/svg2pdftex.py +++ b/lib/scripts/svg2pdftex.py @@ -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" diff --git a/lib/scripts/svg2pstex.py b/lib/scripts/svg2pstex.py index 0195e26d2f..80f282ec26 100644 --- a/lib/scripts/svg2pstex.py +++ b/lib/scripts/svg2pstex.py @@ -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"