[Python-modules-commits] [python-odf] 117/118: ODF2XHTML has no method make_embedable()

Wolfgang Borgert debacle at moszumanska.debian.org
Fri Oct 3 21:27:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to reference refs/remotes/upstream/master
in repository python-odf.

commit 73b09755e182fbeeffe81dc9854fabceff8f4865
Author: Lei Xu <lexu at redhat.com>
Date:   Wed Sep 24 14:36:07 2014 +0800

    ODF2XHTML has no method make_embedable()
    
    Initialize ODF2XHTML instance with embedable=True then will raise an
    AttributeError, because there was no method named 'make_embedable', in fact we
    want to invoke set_embedable().
---
 odf/odf2xhtml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/odf/odf2xhtml.py b/odf/odf2xhtml.py
index 4bf4553..0ff958d 100644
--- a/odf/odf2xhtml.py
+++ b/odf/odf2xhtml.py
@@ -431,7 +431,7 @@ class ODF2XHTML(handler.ContentHandler):
         (TEXTNS, "user-index-source"):(self.s_text_x_source, self.e_text_x_source),
         }
         if embedable:
-            self.make_embedable()
+            self.set_embedable()
         self._resetobject()
 
     def set_plain(self):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-odf.git



More information about the Python-modules-commits mailing list