commit 68fee61c094126d6b561d20d3d1d207048020d95
Author: Juergen Spitzmueller <[email protected]>
Date:   Sat Jul 12 13:23:08 2025 +0200

    Amend b42059255ebbae8 once more
    
    Here is where the value has been missing
---
 lib/lyx2lyx/LyX.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py
index edaeea4df0..e72f0cb44d 100644
--- a/lib/lyx2lyx/LyX.py
+++ b/lib/lyx2lyx/LyX.py
@@ -114,7 +114,7 @@ format_relation = [
 if not format_relation[-1][1]:
     step, mode = format_relation[-1][0], "convert"
     convert = getattr(__import__("lyx_" + step), mode)
-    format_relation[-1] = (step, [conv[0] for conv in convert], 
format_relation[-1][2])
+    format_relation[-1] = (step, [conv[0] for conv in convert], 
format_relation[-1][2], sys.maxsize)
 #                                                                  #
 ####################################################################
 
@@ -296,7 +296,7 @@ class LyX_base:
 
         self.end_layoutformat = 0
         for version in format_relation:
-            if final_version in version[2] and len(version) > 3:
+            if final_version in version[2]:
                 # set the layout format for that version
                 self.end_layoutformat = version[3]
                 break
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to