drop erroneous parameter given to .paginate (closes #3548310)
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 13 Feb 2014 17:33:44 +0100
changeset 328 8a27cc7d9815
parent 323 1b2994829d5c
child 329 8ba9dab9e67f
drop erroneous parameter given to .paginate (closes #3548310)
views/blog.py
--- a/views/blog.py	Thu Feb 13 17:26:52 2014 +0100
+++ b/views/blog.py	Thu Feb 13 17:33:44 2014 +0100
@@ -40,7 +40,7 @@
         rset = entity.related('entry_of', 'object')
         if rset:
             strio = UStringIO()
-            self.paginate(self._cw, w=strio.write, page_size=10, rset=rset)
+            self.paginate(w=strio.write, page_size=10, rset=rset)
             self.w(strio.getvalue())
             self.wview('sameetypelist', rset, showtitle=False)
             self.w(strio.getvalue())