# HG changeset patch
# User sylvain.thenault@logilab.fr
# Date 1232993531 -3600
#      Mon Jan 26 19:12:11 2009 +0100
# Node ID 79b8721582430fae831849ac5fcce129d23b359f
# Parent  380ac8079ae3d486f98d448acba6302195aba54f
remove debug code

diff --git a/views.py b/views.py
--- a/views.py
+++ b/views.py
@@ -257,10 +257,7 @@
             rql = u'Any C,CD,CC,CCF,U,UL,US,UF ORDERBY CD WHERE C is Comment, '\
                   'C comments X, C creation_date CD, C content CC, C content_format CCF, ' \
                   'C created_by U?, U login UL, U firstname UF, U surname US, X eid %(x)s'
-        from cubicweb.server import set_debug
-        set_debug(True)
         rset = req.execute(rql, {'x': eid}, 'x')
-        set_debug(False)
         if rset.rowcount:
             self.w(u'<h4>%s</h4>%s' % (req._('Comment_plural'), reply))
             self.w(u'<div id="comment%sHolder"></div>' % eid)