author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 26 Feb 2010 13:56:06 +0100 | |
branch | stable |
changeset 4725 | 5a81f6bbcb9e |
parent 4724 | fe1f3c560381 |
child 4726 | 1357833f5595 |
child 4727 | 946a9db5405d |
--- a/web/views/debug.py Fri Feb 26 13:31:10 2010 +0100 +++ b/web/views/debug.py Fri Feb 26 13:56:06 2010 +0100 @@ -66,7 +66,7 @@ stats = repo.stats() for element in sorted(stats): w(u'<tr><th align="left">%s</th><td>%s %s</td></tr>' - % (element, xml_escame(unicode(stats[element])), + % (element, xml_escape(unicode(stats[element])), element.endswith('percent') and '%' or '' )) w(u'</table>') if req.cnx._cnxtype == 'inmemory':