server/repository.py
branchstable
changeset 8839 49eb84b80b96
parent 8838 27393e484974
child 8848 08bb2dd18fd2
child 8881 ad3a1ba9ea74
--- a/server/repository.py	Tue Apr 02 15:11:21 2013 +0200
+++ b/server/repository.py	Tue Apr 02 15:11:41 2013 +0200
@@ -883,6 +883,9 @@
         and :class:`cubicweb.server.Service`
         """
         session = self._get_session(sessionid)
+        return self._call_service_with_session(session, regid, async, **kwargs)
+
+    def _call_service_with_session(self, session, regid, async, **kwargs):
         if async:
             self.info('calling service %s asynchronously', regid)
             def task():