Mercurial > libervia-web
changeset 1040:90b11cd6f28f
pages (common/blog): use bridgeCall instead of bridge
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 24 Jan 2018 09:58:00 +0100 |
parents | 6bc7768faa5d |
children | 688b52897ba0 |
files | src/pages/common/blog/page_meta.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pages/common/blog/page_meta.py Wed Jan 24 09:58:00 2018 +0100 +++ b/src/pages/common/blog/page_meta.py Wed Jan 24 09:58:00 2018 +0100 @@ -97,7 +97,7 @@ service = comment_data[u'service'] node = comment_data[u'node'] try: - comments_data = yield self.host.bridge.mbGet( + comments_data = yield self.host.bridgeCall(u'mbGet', service, node, C.NO_LIMIT, @@ -122,7 +122,7 @@ items_id = [item_id] else: items_id = [] - blog_data = yield self.host.bridge.mbGet( + blog_data = yield self.host.bridgeCall(u'mbGet', service.userhost(), node, C.NO_LIMIT, @@ -243,7 +243,7 @@ self.pageError(request, C.HTTP_BAD_REQUEST) comment_data = {u"content": body} try: - yield self.host.bridge.mbSend(service, node, comment_data, profile) + yield self.host.bridgeCall(u'mbSend', service, node, comment_data, profile) except Exception as e: if u"forbidden" in unicode(e): self.pageError(request, 401)