Add warning message if we do no conversion.

This commit is contained in:
Richard Heck 2015-11-01 16:32:52 -05:00
parent 221932f63a
commit 4c16c61579

View File

@ -554,6 +554,8 @@ class LyX_base:
def convert(self):
"Convert from current (self.format) to self.end_format."
if self.format == self.end_format:
self.warning("No conversion needed: Target format %s "
"same as current format!" % self.format, default_debug__)
return
mode, conversion_chain = self.chain()