cleaning code
authorLaure Bourgois <Laure.Bourgois@logilab.fr>
Mon, 01 Dec 2008 14:43:40 +0100
changeset 157 85af2e536fd5
parent 156 261bf6d647eb
child 158 18385a9bbba0
cleaning code
common/selectors.py
--- 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: