This patch fixes convertion from old files.

The opt structure changed to file, and so for some reason one instance of it 
remained unchanged. :-(

This is trivial, so I apply it soon. :-)
-- 
José Abílio
Index: ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/lyx2lyx/ChangeLog,v
retrieving revision 1.49
diff -u -p -r1.49 ChangeLog
--- ChangeLog	28 Oct 2004 11:21:26 -0000	1.49
+++ ChangeLog	29 Nov 2004 11:31:23 -0000
@@ -1,3 +1,7 @@
+2004-11-29  José Matos  <[EMAIL PROTECTED]>
+
+	* lyx_1_2.py (convert): rename opt to file, as in all other files.
+
 2004-10-28  José Matos  <[EMAIL PROTECTED]>
 
 	* LyX.pm: add internal documentation.
Index: lyx_1_2.py
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/lyx2lyx/lyx_1_2.py,v
retrieving revision 1.2
diff -u -p -r1.2 lyx_1_2.py
--- lyx_1_2.py	15 Aug 2004 16:29:04 -0000	1.2
+++ lyx_1_2.py	29 Nov 2004 11:31:23 -0000
@@ -546,7 +546,7 @@ def convert(file):
     fix_oldfloatinset(file.body)
     update_tabular(file.body)
     remove_pextra(file.body)
-    remove_oldfloat(file.body, opt)
+    remove_oldfloat(file.body, file)
     remove_figinset(file.body)
     remove_oldertinset(file.body)
     remove_oldert(file.body)

Reply via email to