Skip to content
Snippets Groups Projects
Commit 068aa14bbd6b authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

fix remaining 3.6 deprecation warning

parent bf81d4b7c494
No related branches found
No related tags found
No related merge requests found
......@@ -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',
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment