# HG changeset patch # User Goffi # Date 1516784280 -3600 # Node ID 90b11cd6f28f86d8824d5174c0d2050744a27531 # Parent 6bc7768faa5df3a4aa9074a280062c7bcc9e5097 pages (common/blog): use bridgeCall instead of bridge diff -r 6bc7768faa5d -r 90b11cd6f28f src/pages/common/blog/page_meta.py --- 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)