should take extra kwargs tls-sprint
authorsylvain.thenault@logilab.fr
Fri, 10 Apr 2009 16:49:06 +0200
branchtls-sprint
changeset 1339 f74674c042ed
parent 1338 9e038f84dbb3
child 1340 12e46a39f3f2
should take extra kwargs
web/component.py
--- a/web/component.py	Fri Apr 10 16:48:48 2009 +0200
+++ b/web/component.py	Fri Apr 10 16:49:06 2009 +0200
@@ -72,8 +72,8 @@
     previous_page_link_templ = next_page_link_templ = page_link_templ
     no_previous_page_link = no_next_page_link = u''
     
-    def __init__(self, req, rset):
-        super(NavigationComponent, self).__init__(req, rset)
+    def __init__(self, req, rset, **kwargs):
+        super(NavigationComponent, self).__init__(req, rset, **kwargs)
         self.starting_from = 0
         self.total = rset.rowcount