branch | 3.25 |
changeset 12146 | d540defa0591 |
parent 12134 | 0bf232be21a6 |
child 12567 | 26744ad37953 |
--- a/cubicweb/entities/sources.py Tue Apr 04 17:43:56 2017 +0200 +++ b/cubicweb/entities/sources.py Wed Apr 05 14:59:09 2017 +0200 @@ -63,7 +63,7 @@ """repository only property, not available from the web side (eg self._cw is expected to be a server session) """ - return self._cw.repo.sources_by_eid[self.eid] + return self._cw.repo.source_by_eid(self.eid) class CWSourceHostConfig(_CWSourceCfgMixIn, AnyEntity):