diff -r 7d01c8c675a0 -r 846e5676ca39 web/views/debug.py
--- a/web/views/debug.py Tue Nov 24 16:57:07 2015 +0100
+++ b/web/views/debug.py Tue Nov 24 17:31:09 2015 +0100
@@ -73,6 +73,7 @@
dtformat = req.property_value('ui.datetime-format')
_ = req._
w = self.w
+ repo = req.cnx.repo
# generic instance information
w(u'
%s
' % _('Instance'))
w(u'')
@@ -83,7 +84,7 @@
w(u'%s | %s |
' % (
_('instance home'), self._cw.vreg.config.apphome))
w(u'
')
- vcconf = req.cnx.repo.get_versions()
+ vcconf = repo.get_versions()
w(u'%s
' % _('versions configuration'))
w(u'')
w(u'%s | %s |
' % (
@@ -94,7 +95,6 @@
cube, cubeversion))
w(u'
')
# repository information
- repo = req.vreg.config.repository(None)
w(u'%s
' % _('Repository'))
w(u'%s
' % _('resources usage'))
w(u'