From: Uwe Stöhr Date: Wed, 22 Nov 2017 22:26:58 +0000 (+0100) Subject: svg2pdftex.py: make print work with Python 2 and 3 X-Git-Tag: 2.3.0rc2~224 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=21380b9012e43e83fadcab2df64acb689d5deab2;p=features.git svg2pdftex.py: make print work with Python 2 and 3 (cherry picked from commit 913619c80a83e281d5177a806bc2a3f894e8e886) --- diff --git a/lib/scripts/svg2pdftex.py b/lib/scripts/svg2pdftex.py index c574e6a1a4..dc79b43273 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"