server/sources/pyrorql.py
branchstable
changeset 7526 ae31063f3274
parent 7499 96412cfc28e2
child 7536 29961a416faa
--- a/server/sources/pyrorql.py	Thu Jun 16 19:37:59 2011 +0200
+++ b/server/sources/pyrorql.py	Thu Jun 16 19:38:28 2011 +0200
@@ -234,6 +234,7 @@
         etype, dexturi, dextid = cnx.describe(extid)
         if dexturi == 'system' or not (
             dexturi in self.repo.sources_by_uri or self._skip_externals):
+            assert etype in self.support_entities, etype
             return self.repo.extid2eid(self, str(extid), etype, session), True
         if dexturi in self.repo.sources_by_uri:
             source = self.repo.sources_by_uri[dexturi]