]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx_1_0_0.py
Fix previous leftover transformation. (opt -> file)
[lyx.git] / lib / lyx2lyx / lyx_1_0_0.py
index af35201b76539caefc9915f958c786e421d1848c..b0299920fdf994e67e4f9be354a4e16515399a91 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-def convert(header, body, opt):
-    opt.format = 215
+def convert(file):
+    file.format = 215
 
 
-def revert(header, body, opt):
-    opt.error("The convertion to an older format (%s) is not implemented." % opt.format)
+def revert(file):
+    file.error("The convertion to an older format (%s) is not implemented." % file .format)
 
 
 if __name__ == "__main__":