selectors.py
branchtls-sprint
changeset 656 3f2956c186ef
parent 654 36e87179e91d
child 657 fd019f41aa2f
--- 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