From 21380b9012e43e83fadcab2df64acb689d5deab2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 22 Nov 2017 23:26:58 +0100 Subject: [PATCH] svg2pdftex.py: make print work with Python 2 and 3 (cherry picked from commit 913619c80a83e281d5177a806bc2a3f894e8e886) --- lib/scripts/svg2pdftex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5