web/views/basecontrollers.py
changeset 237 3df2e0ae2eba
parent 0 b97547f5f1fa
child 353 376f9a4979e7
--- a/web/views/basecontrollers.py	Fri Dec 19 14:55:00 2008 +0100
+++ b/web/views/basecontrollers.py	Fri Dec 19 15:16:09 2008 +0100
@@ -18,7 +18,7 @@
 from logilab.common.decorators import cached
 
 from cubicweb import NoSelectableObject, ValidationError, typed_eid
-from cubicweb.common.selectors import yes_selector
+from cubicweb.common.selectors import yes
 from cubicweb.common.mail import format_mail
 from cubicweb.common.view import STRICT_DOCTYPE, CW_XHTML_EXTENSIONS
 
@@ -505,7 +505,7 @@
 
 class MailBugReportController(SendMailController):
     id = 'reportbug'
-    __selectors__ = (yes_selector,)
+    __selectors__ = (yes,)
 
     def publish(self, rset=None):
         body = self.req.form['description']