Constructors don't return things; renderer gets set in constructor

svn: r13895
This commit is contained in:
Doug Blank 2009-12-23 17:57:54 +00:00
parent ab3dfe1415
commit 61e3237d5a

View File

@ -238,8 +238,7 @@ class GeoView(HtmlView):
""" """
def __init__(self, dbstate, uistate): def __init__(self, dbstate, uistate):
self.renderer = HtmlView.__init__(self, dbstate, uistate, HtmlView.__init__(self, dbstate, uistate, title=_("GeoView"))
title=_("GeoView"))
self.dbstate = dbstate self.dbstate = dbstate
self.uistate = uistate self.uistate = uistate
self.dbstate.connect('database-changed', self._new_database) self.dbstate.connect('database-changed', self._new_database)