From: <mi...@us...> - 2018-01-25 16:37:04
|
Revision: 8215 http://sourceforge.net/p/docutils/code/8215 Author: milde Date: 2018-01-25 16:37:02 +0000 (Thu, 25 Jan 2018) Log Message: ----------- Fix #340 Call to class method without specifying class instance. Thanks to Alexey Ovcharov. Modified Paths: -------------- trunk/docutils/docutils/writers/odf_odt/__init__.py Modified: trunk/docutils/docutils/writers/odf_odt/__init__.py =================================================================== --- trunk/docutils/docutils/writers/odf_odt/__init__.py 2018-01-19 13:45:35 UTC (rev 8214) +++ trunk/docutils/docutils/writers/odf_odt/__init__.py 2018-01-25 16:37:02 UTC (rev 8215) @@ -2238,7 +2238,7 @@ size = float(size) / 100.0 unit = '%' else: - size, unit = convert_to_cm(size) + size, unit = self.convert_to_cm(size) except ValueError, exp: self.document.reporter.warning( 'Invalid %s for image: "%s". ' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |