--- a/server/sources/__init__.py Tue Oct 13 18:21:24 2009 +0200
+++ b/server/sources/__init__.py Thu Oct 15 10:31:54 2009 +0200
@@ -191,6 +191,9 @@
* if this source doesn't support the relation, can be crossed unless
explicitly specified in .dont_cross_relations
"""
+ # XXX find a way to have relation such as state_of in dont cross
+ # relation (eg composite relation without both end type available?
+ # card 1 relation ? ...)
if self.support_relation(rtype):
return rtype in self.cross_relations
return rtype not in self.dont_cross_relations