common/selectors.py
changeset 157 85af2e536fd5
parent 149 a7cd4296a85e
child 161 328bc32b5701
--- a/common/selectors.py	Fri Nov 28 17:06:00 2008 +0100
+++ b/common/selectors.py	Mon Dec 01 14:43:40 2008 +0100
@@ -12,7 +12,7 @@
 
 from logilab.common.compat import all
 
-from cubicweb import Unauthorized, NoSelectableObject
+from cubicweb import Unauthorized
 from cubicweb.cwvreg import DummyCursorError
 from cubicweb.vregistry import chainall, chainfirst, NoSelectableObject
 from cubicweb.cwconfig import CubicWebConfiguration
@@ -390,9 +390,6 @@
     return 1
 
 def appobject_selectable(registry, oid):
-    """return a selector that will have a positive score if an object for the
-    given registry and object id is selectable for the input context
-    """
     @lltrace
     def selector(cls, req, rset, *args, **kwargs):
         try: