From ce97f20ff8a76b87fab66828d7a04b7e21a0fb10 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 26 Sep 2009 01:08:14 +0000 Subject: [PATCH] Issue with super() and reload of plugins in Python 2.6.0 svn: r13252 --- src/plugins/lib/libhtml.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/lib/libhtml.py b/src/plugins/lib/libhtml.py index 8ecf99083..6bad77f72 100644 --- a/src/plugins/lib/libhtml.py +++ b/src/plugins/lib/libhtml.py @@ -272,7 +272,9 @@ class Html(list): For full usage of the Html class with examples, please see the wiki page at: http://www.gramps-project.org/wiki/index.php?title=Libhtml """ - super(Html, self).__init__([]) # instantiate object + # Replace super(Html, self) with list + # Issue with Python 2.6 and reload of plugin + list.__init__(self, []) # instantiate object attr = '' self.indent, self.close, self.inline = True, True, False #