# HG changeset patch # User Laure Bourgois # Date 1228139020 -3600 # Node ID 85af2e536fd56e2dc3bef5608ed526d7324190a9 # Parent 261bf6d647eb9a944e67fd994dd0b64e34a3516b cleaning code diff -r 261bf6d647eb -r 85af2e536fd5 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: