fix warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 29 Sep 2009 12:38:48 +0200
branchstable
changeset 3511 581de819106f
parent 3510 bf746bf4a394
child 3512 2ceaa4e40348
fix warning
web/views/boxes.py
--- a/web/views/boxes.py	Tue Sep 29 12:37:47 2009 +0200
+++ b/web/views/boxes.py	Tue Sep 29 12:38:48 2009 +0200
@@ -60,8 +60,8 @@
                                       ('addrelated', None)):
             for action in actions.get(category, ()):
                 if category == 'addrelated':
-                    warn('"addrelated" category is deprecated, use "moreaction"'
-                         ' category w/ "addrelated" submenu',
+                    warn('[3.5] "addrelated" category is deprecated, use '
+                         '"moreactions" category w/ "addrelated" submenu',
                          DeprecationWarning)
                     defaultmenu = self._get_menu('addrelated', _('add'), _('add'))
                 if action.submenu: