--- a/cubicweb/web/views/debug.py Wed Oct 05 15:28:43 2016 +0200
+++ b/cubicweb/web/views/debug.py Fri Sep 30 18:25:08 2016 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2016 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
@@ -17,7 +17,6 @@
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""management and error screens"""
-__docformat__ = "restructuredtext en"
from cubicweb import _
from time import strftime, localtime
@@ -30,6 +29,7 @@
from cubicweb.view import StartupView
from cubicweb.web.views import actions, tabs
+
def dict_to_html(w, dict):
# XHTML doesn't allow emtpy <ul> nodes
if dict:
@@ -42,7 +42,7 @@
class SiteInfoAction(actions.ManagersAction):
__regid__ = 'siteinfo'
- __select__ = match_user_groups('users','managers')
+ __select__ = match_user_groups('users', 'managers')
title = _('Site information')
category = 'manage'
order = 1000