entity.py
branchstable
changeset 6807 7330d1fa02dd
parent 6792 8834d9d91b66
child 6812 a637f961665d
--- a/entity.py	Tue Nov 09 17:19:39 2010 +0100
+++ b/entity.py	Tue Jan 11 17:08:52 2011 +0100
@@ -697,7 +697,7 @@
         if not self.has_eid():
             if entities:
                 return []
-            return self.empty_rset()
+            return self._cw.empty_rset()
         rql = self.cw_related_rql(rtype, role)
         rset = self._cw.execute(rql, {'x': self.eid})
         self.cw_set_relation_cache(rtype, role, rset)