From 61e3237d5ac6234257d4293f9def0ddad9f66494 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 23 Dec 2009 17:57:54 +0000 Subject: [PATCH] Constructors don't return things; renderer gets set in constructor svn: r13895 --- src/plugins/view/geoview.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/view/geoview.py b/src/plugins/view/geoview.py index 157946f70..5268b9670 100644 --- a/src/plugins/view/geoview.py +++ b/src/plugins/view/geoview.py @@ -238,8 +238,7 @@ class GeoView(HtmlView): """ def __init__(self, dbstate, uistate): - self.renderer = HtmlView.__init__(self, dbstate, uistate, - title=_("GeoView")) + HtmlView.__init__(self, dbstate, uistate, title=_("GeoView")) self.dbstate = dbstate self.uistate = uistate self.dbstate.connect('database-changed', self._new_database)