]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/generate_encoding_info.py
Added Adobe Source Pro fonts to lyx-GUI
[lyx.git] / lib / lyx2lyx / generate_encoding_info.py
index 6766ef0520132b3c9657369f036a0d3ab87b0b3c..50725b76624c41490f09903ba4ae016a1aec6873 100644 (file)
@@ -19,6 +19,7 @@
 """ This module parses lib/languages and prints it as a python
 dictionary, ready to use by other python modules"""
 
+from __future__ import print_function
 import pprint
 
 def parse_line(line):
@@ -55,8 +56,8 @@ if __name__ == '__main__':
             lang[tmp[0]] = tmp[1:]
 
 
-    print "# This file is generated by generate_incoding_info.py from lib/languages file."
-    print "# Do not change this file directly."
-    print
-    print "lang = ",
+    print ("# This file is generated by generate_incoding_info.py from lib/languages file.")
+    print ("# Do not change this file directly.")
+    print ()
+    print ("lang = ", end = " ")
     pprint.pprint(lang)