]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx2lyx
change the file format number to 229 for the sake of a cleaner minipage/box conversion
[lyx.git] / lib / lyx2lyx / lyx2lyx
index 1fb1593497328d0b5bba92389b0ebcd125a2aa58..d4333283bcf76499ab339213020da8b3b7b758ee 100755 (executable)
@@ -40,7 +40,7 @@ opt.quiet = 0
 
 format = re.compile(r"(\d)[\.,]?(\d\d)")
 fileformat = re.compile(r"\\lyxformat\s*(\S*)")
-lst_ft = [210, 215, 216, 217,  218, 220, 221, 223, 224, 225, 226]
+lst_ft = [210, 215, 216, 217,  218, 220, 221, 223, 224, 225, 226, 227, 228, 229]
 
 def usage():
     print """Usage: lyx2lyx [options] [file]
@@ -115,7 +115,7 @@ def lyxformat(fmt):
     if fmt in lst_ft:
         return fmt
 
-    opt.err.write(fmt + ": " + error.format_not_supported)
+    opt.err.write(str(fmt) + ": " + error.format_not_supported)
     sys.exit(1)
 
 def read_file(file, header, body):