# HG changeset patch # User Sylvain Thénault <sylvain.thenault@logilab.fr> # Date 1296030648 -3600 # Wed Jan 26 09:30:48 2011 +0100 # Branch stable # Node ID 068aa14bbd6b723d2dc72998ca689a7e0ca765b5 # Parent bf81d4b7c4948da257b3d76d753e89573b100d90 fix remaining 3.6 deprecation warning diff --git a/views.py b/views.py --- a/views.py +++ b/views.py @@ -303,7 +303,7 @@ w(u'<h4>%s</h4>' % (req._('Comment_plural'))) w(u'<ul class="comment">') for i in xrange(rset.rowcount): - self.view('tree', rset, row=i, w=w) + self._cw.view('tree', rset, row=i, w=w) w(u'</ul>') if addcomment is not None: w(u'<div id="comment%sHolder"></div>' % entity.eid) @@ -334,9 +334,9 @@ if rset: w(u'<div class="section">') w(u'<h4>%s</h4>\n' % self._cw._('Latest comments').capitalize()) - self.view('table', rset, w=w, - headers=[_('about'), _('on date'), - _('comment content')], + self._cw.view('table', rset, w=w, + headers=[_('about'), _('on date'), + _('comment content')], cellvids={0: 'commentroot', 2: 'commentsummary', })