]> git.lyx.org Git - lyx.git/blobdiff - development/tools/unicodesymbols.py
Cmake dist: Expand the list of not distributed files.
[lyx.git] / development / tools / unicodesymbols.py
index 07ae50ffbc28f0fd3654cdc6c39ca258ce37aa92..7338d2f0d56570d2d3ec1dd626958fc9c403b34d 100755 (executable)
@@ -12,6 +12,7 @@
 # This script reads a unicode symbol file and completes it in the given range
 
 
+from __future__ import print_function
 import os, re, string, sys, unicodedata
 import io
 
@@ -64,7 +65,7 @@ def complete(lines, start, stop):
     for i in range(start, stop):
         # This catches both comments (lines[l][0] == -1) and code points less than i
         while l < len(lines) and lines[l][0] < i:
-#            print lines[l]
+#            print(lines[l])
             l = l + 1
             continue
         if l >= len(lines) or lines[l][0] != i:
@@ -80,7 +81,7 @@ def complete(lines, start, stop):
                     combining = ""
                 line = [i, '#0x%04x ""                         "" "%s" "" "" # %s' % (i, combining, name)]
                 lines.insert(l, line)
-#                print lines[l]
+#                print(lines[l])
                 l = l + 1