__selectors__ must return a tuple tls-sprint
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 18 Feb 2009 00:12:34 +0100
branchtls-sprint
changeset 732 45c3414ac002
parent 731 ac4a94e50b60
child 733 6df41435ecb7
__selectors__ must return a tuple
appobject.py
--- a/appobject.py	Wed Feb 18 00:03:27 2009 +0100
+++ b/appobject.py	Wed Feb 18 00:12:34 2009 +0100
@@ -104,7 +104,7 @@
     def __selectors__(cls):
         selector = cls.__select__
         if isinstance(selector, AndSelector):
-            return selector.selectors
+            return tuple(selector.selectors)
         if not isinstance(selector, tuple):
             selector = (selector,)
         return selector