comparison libervia/pages/lists/view_item/page_meta.py @ 1487:579250dfe6d0

merge bookmark 0.9
author Goffi <goffi@goffi.org>
date Fri, 03 Dec 2021 17:43:07 +0100
parents 595e7fef41f3
children 3a34d78f2717
comparison
equal deleted inserted replaced
1486:6ad203673853 1487:579250dfe6d0
78 uri_data = uri.parseXMPPUri(comments_uri) 78 uri_data = uri.parseXMPPUri(comments_uri)
79 template_data["comments_node"] = comments_node = uri_data["node"] 79 template_data["comments_node"] = comments_node = uri_data["node"]
80 template_data["comments_service"] = comments_service = uri_data["path"] 80 template_data["comments_service"] = comments_service = uri_data["path"]
81 try: 81 try:
82 comments = data_format.deserialise(await self.host.bridgeCall( 82 comments = data_format.deserialise(await self.host.bridgeCall(
83 "mbGet", comments_service, comments_node, C.NO_LIMIT, [], {}, profile 83 "mbGet", comments_service, comments_node, C.NO_LIMIT, [],
84 data_format.serialise({}), profile
84 )) 85 ))
85 except BridgeException as e: 86 except BridgeException as e:
86 if e.classname == 'NotFound' or e.condition == 'item-not-found': 87 if e.classname == 'NotFound' or e.condition == 'item-not-found':
87 log.warning( 88 log.warning(
88 _("Can't find comment node at [{service}] {node!r}") 89 _("Can't find comment node at [{service}] {node!r}")