]> git.lyx.org Git - features.git/commitdiff
Assure print function compatibility in python 2.x
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 24 Nov 2017 10:56:41 +0000 (11:56 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 24 Nov 2017 10:56:41 +0000 (11:56 +0100)
lib/scripts/svg2pdftex.py
lib/scripts/svg2pstex.py

index 941a58776f5e4b58ca07f3c25e056c613269cdcf..d1e0bf33a81f62182292cb2d26c28a9e75cd98e6 100644 (file)
@@ -27,6 +27,8 @@
 #   the real PDF file would be overwritten by a TeX file named outputfile.pdf.
 #
 
+from __future__ import print_function
+
 import os, sys, re, subprocess
 
 def runCommand(cmd):
index 80f282ec26089d343d0d0aeba0d37c77357bf7d9..97d6ae103981b5c9bd85924a720b8d532e5211a7 100644 (file)
@@ -30,6 +30,8 @@
 # This script converts an SVG image to something that latex can process
 # into high quality PostScript.
 
+from __future__ import print_function
+
 import os, sys, re, subprocess
 
 def runCommand(cmd):