oops tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 17 Feb 2009 13:44:31 +0100
branchtls-sprint
changeset 656 3f2956c186ef
parent 655 ca3c4992c7d1
child 657 fd019f41aa2f
oops
selectors.py
--- a/selectors.py	Tue Feb 17 13:38:30 2009 +0100
+++ b/selectors.py	Tue Feb 17 13:44:31 2009 +0100
@@ -954,8 +954,8 @@
         if getattr(cls, 'type', None):
             warn('use relation_possible selector instead of using etype_rtype',
                  DeprecationWarning)
-            cls.__selectors__ += (relation_possible(cls.rtype), role(cls),
-                                  getattr(cls, 'etype', None),
-                                  action=getattr(cls, 'require_permission', 'read'))
+            cls.__selectors__ += (relation_possible(cls.rtype, role(cls),
+                                                    getattr(cls, 'etype', None),
+                                                    action=getattr(cls, 'require_permission', 'read')))
         return cls
     return plug_selector