[views] fix bug on gc debugging view stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 14 Apr 2010 16:26:20 +0200
branchstable
changeset 5248 8f7843afb014
parent 5247 3c8f6e6014f4
child 5249 842a40cade9a
child 5252 9c765b1d8250
[views] fix bug on gc debugging view
web/views/debug.py
--- a/web/views/debug.py	Wed Apr 14 16:26:02 2010 +0200
+++ b/web/views/debug.py	Wed Apr 14 16:26:20 2010 +0200
@@ -165,5 +165,5 @@
         self.wview('pyvaltable', pyvalue=values[:self._cw.form.get('nb', 20)])
         if garbage:
             self.w(u'<h3>%s</h3>' % _('Unreachable objects'))
-            values = sorted(xml_escape(repr(o) for o in garbage))
+            values = sorted(xml_escape(repr(o)) for o in garbage)
             self.wview('pyvallist', pyvalue=values)