changeset 161 | 328bc32b5701 |
parent 157 | 85af2e536fd5 |
child 162 | 5012aba69e62 |
--- a/common/selectors.py Mon Dec 01 14:52:16 2008 +0100 +++ b/common/selectors.py Mon Dec 01 15:20:27 2008 +0100 @@ -390,6 +390,9 @@ 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: