web/facet.py
changeset 1977 606923dff11b
parent 1933 f40ee76ecdf1
child 2010 c594323929cb
--- a/web/facet.py	Thu May 28 08:06:12 2009 +0200
+++ b/web/facet.py	Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
 a search
 
 :organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
 """
 __docformat__ = "restructuredtext en"
 
@@ -549,7 +550,7 @@
             cssclass += ' overflowed'
         self.w(u'<div class="facetBody%s">\n' % cssclass)
         for item in self.items:
-            item.render(self.w)
+            item.render(w=self.w)
         self.w(u'</div>\n')
         self.w(u'</div>\n')