comparison sat_frontends/quick_frontend/quick_app.py @ 3102:7574f795bd1e

core, bridge: encryptionPluginsGet now returns a serialised list + added "directed" in metadata
author Goffi <goffi@goffi.org>
date Mon, 30 Dec 2019 20:44:04 +0100
parents ab7e8ade848a
children b067736d5099
comparison
equal deleted inserted replaced
3101:ab7e8ade848a 3102:7574f795bd1e
349 self.ns_map = ns_map 349 self.ns_map = ns_map
350 350
351 def _namespacesGetEb(self, failure_): 351 def _namespacesGetEb(self, failure_):
352 log.error(_("Can't get namespaces map: {msg}").format(msg=failure_)) 352 log.error(_("Can't get namespaces map: {msg}").format(msg=failure_))
353 353
354 def _encryptionPluginsGetCb(self, plugins): 354 def _encryptionPluginsGetCb(self, plugins_ser):
355 self.encryption_plugins = plugins 355 self.encryption_plugins = data_format.deserialise(plugins_ser, type_check=list)
356 356
357 def _encryptionPluginsGetEb(self, failure_): 357 def _encryptionPluginsGetEb(self, failure_):
358 log.warning(_("Can't retrieve encryption plugins: {msg}").format(msg=failure_)) 358 log.warning(_("Can't retrieve encryption plugins: {msg}").format(msg=failure_))
359 359
360 def onBridgeConnected(self): 360 def onBridgeConnected(self):