]> git.lyx.org Git - features.git/blobdiff - lib/lyx2lyx/LyX.py
If lyx2lyx is asked to convert a file to the format it already is,
[features.git] / lib / lyx2lyx / LyX.py
index 04acb24f595674e798e1426b005728dada7e8ca6..700a69960d4ba4b4044420ce96220913e9f9daf9 100644 (file)
@@ -553,6 +553,9 @@ class LyX_base:
 
     def convert(self):
         "Convert from current (self.format) to self.end_format."
+        if self.format == self.end_format:
+            return
+
         mode, conversion_chain = self.chain()
         self.warning("conversion chain: " + str(conversion_chain), 3)