oops, get back cross_relation from mapping to rql source
authorsylvain.thenault@logilab.fr
Wed, 14 Jan 2009 19:39:32 +0100
changeset 417 828424d2eb3c
parent 416 84e886a40de5
child 422 5e93f8a8b1f0
oops, get back cross_relation from mapping to rql source
server/sources/pyrorql.py
--- a/server/sources/pyrorql.py	Wed Jan 14 19:04:42 2009 +0100
+++ b/server/sources/pyrorql.py	Wed Jan 14 19:39:32 2009 +0100
@@ -117,6 +117,7 @@
         self.support_entities = mapping['support_entities']
         self.support_relations = mapping.get('support_relations', {})
         self.dont_cross_relations = mapping.get('dont_cross_relations', ())
+        self.cross_relations = mapping.get('cross_relations', ())
         baseurl = source_config.get('base-url')
         if baseurl and not baseurl.endswith('/'):
             source_config['base-url'] += '/'