equal
deleted
inserted
replaced
695 except KeyError: |
695 except KeyError: |
696 pass |
696 pass |
697 if not self.has_eid(): |
697 if not self.has_eid(): |
698 if entities: |
698 if entities: |
699 return [] |
699 return [] |
700 return self.empty_rset() |
700 return self._cw.empty_rset() |
701 rql = self.cw_related_rql(rtype, role) |
701 rql = self.cw_related_rql(rtype, role) |
702 rset = self._cw.execute(rql, {'x': self.eid}) |
702 rset = self._cw.execute(rql, {'x': self.eid}) |
703 self.cw_set_relation_cache(rtype, role, rset) |
703 self.cw_set_relation_cache(rtype, role, rset) |
704 return self.related(rtype, role, limit, entities) |
704 return self.related(rtype, role, limit, entities) |
705 |
705 |