]> git.lyx.org Git - features.git/commitdiff
Use python3 print syntax
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 23 Nov 2017 07:16:10 +0000 (08:16 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 23 Nov 2017 07:16:10 +0000 (08:16 +0100)
lib/scripts/svg2pdftex.py
lib/scripts/svg2pstex.py

index dc79b4327346e1c1d8f3540867e6d818657e29c6..941a58776f5e4b58ca07f3c25e056c613269cdcf 100644 (file)
@@ -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"
index 0195e26d2f5eacd4db13e22101e718072d6e0c6e..80f282ec26089d343d0d0aeba0d37c77357bf7d9 100644 (file)
@@ -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"