diff -r 4a3b264589dc -r 8eb7883b4223 web/views/debug.py --- a/web/views/debug.py Thu Oct 21 18:38:36 2010 +0200 +++ b/web/views/debug.py Fri Oct 22 09:15:35 2010 +0200 @@ -18,11 +18,13 @@ """management and error screens""" __docformat__ = "restructuredtext en" +_ = unicode from time import strftime, localtime from logilab.mtconverter import xml_escape +from cubicweb import BadConnectionId from cubicweb.selectors import none_rset, match_user_groups from cubicweb.view import StartupView from cubicweb.web.views import actions @@ -144,7 +146,7 @@ cache_max_age = 0 def call(self, **kwargs): - self.w(u'
%s
\n' % ' - '.join('%s' @@ -180,20 +182,20 @@ Connection, Cursor, CubicWebRequestBase) try: - from cubicweb.server.session import Session, ChildSession, InternalSession - lookupclasses += (InternalSession, ChildSession, Session) + from cubicweb.server.session import Session, InternalSession + lookupclasses += (InternalSession, Session) except ImportError: pass # no server part installed self.w(u'