branch | 3.25 |
changeset 12146 | d540defa0591 |
parent 12060 | 0cdf5fafd234 |
child 12346 | b3f45d96a179 |
--- a/cubicweb/sobjects/services.py Tue Apr 04 17:43:56 2017 +0200 +++ b/cubicweb/sobjects/services.py Wed Apr 05 14:59:09 2017 +0200 @@ -142,6 +142,6 @@ __select__ = Service.__select__ & match_user_groups('managers') def call(self, source_eid): - source = self._cw.repo.sources_by_eid[source_eid] + source = self._cw.repo.source_by_eid(source_eid) result = source.pull_data(self._cw, force=True, async=True) return result['import_log_eid']