web/views/debug.py
changeset 9034 cc3442054e48
parent 8718 9e7847dcbd94
child 9670 5b661f58978c
--- a/web/views/debug.py	Mon Jun 24 11:59:45 2013 +0200
+++ b/web/views/debug.py	Mon Jun 24 12:05:35 2013 +0200
@@ -97,7 +97,7 @@
         w(u'<h2>%s</h2>' % _('Repository'))
         w(u'<h3>%s</h3>' % _('resources usage'))
         w(u'<table>')
-        stats = repo.stats()
+        stats = self._cw.call_service('repo_stats')
         for element in sorted(stats):
             w(u'<tr><th align="left">%s</th><td>%s %s</td></tr>'
                    % (element, xml_escape(unicode(stats[element])),