X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyx2lyx%2FLyX.py;h=2b9560aac91d2ce6342ca0e40eb9397a7fc15e27;hb=69b1ea0ecf5191b937b9e6239aea1d266593bbbc;hp=36fb64bc607b2b291cd55c748b8aa876dab53db0;hpb=3e83e10ffe79e5869e7973a573b8b33e2526ab9b;p=lyx.git diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py index 36fb64bc60..2b9560aac9 100644 --- a/lib/lyx2lyx/LyX.py +++ b/lib/lyx2lyx/LyX.py @@ -521,16 +521,16 @@ class LyX_base: def convert(self): "Convert from current (self.format) to self.end_format." - mode, convertion_chain = self.chain() - self.warning("convertion chain: " + str(convertion_chain), 3) + mode, conversion_chain = self.chain() + self.warning("conversion chain: " + str(conversion_chain), 3) - for step in convertion_chain: + for step in conversion_chain: steps = getattr(__import__("lyx_" + step), mode) self.warning("Convertion step: %s - %s" % (step, mode), default_debug__ + 1) if not steps: - self.error("The convertion to an older " + self.error("The conversion to an older " "format (%s) is not implemented." % self.format) multi_conv = len(steps) != 1 @@ -563,7 +563,7 @@ class LyX_base: def chain(self): """ This is where all the decisions related with the - convertion are taken. It returns a list of modules needed to + conversion are taken. It returns a list of modules needed to convert the LyX file from self.format to self.end_format""" self.start = self.format