Issue with super() and reload of plugins in Python 2.6.0
svn: r13252
This commit is contained in:
parent
0c856f59f5
commit
ce97f20ff8
@ -272,7 +272,9 @@ class Html(list):
|
|||||||
For full usage of the Html class with examples, please see the wiki
|
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
|
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 = ''
|
attr = ''
|
||||||
self.indent, self.close, self.inline = True, True, False
|
self.indent, self.close, self.inline = True, True, False
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user