[appobject] old selectors no more supported
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 17 Aug 2009 19:21:26 +0200
changeset 2886 0b715e732330
parent 2885 0f8084bf2a21
child 2887 1282dc6525c5
[appobject] old selectors no more supported
appobject.py
--- a/appobject.py	Mon Aug 17 19:20:36 2009 +0200
+++ b/appobject.py	Mon Aug 17 19:21:26 2009 +0200
@@ -302,16 +302,6 @@
 
     # deprecated ###############################################################
 
-    @classproperty
-    @deprecated('[3.4] use __select__ and & or | operators')
-    def __selectors__(cls):
-        selector = cls.__select__
-        if isinstance(selector, AndSelector):
-            return tuple(selector.selectors)
-        if not isinstance(selector, tuple):
-            selector = (selector,)
-        return selector
-
     @property
     @deprecated('[3.5] use self._cw.vreg')
     def vreg(self):