diff 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
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_app.py	Mon Dec 30 20:44:02 2019 +0100
+++ b/sat_frontends/quick_frontend/quick_app.py	Mon Dec 30 20:44:04 2019 +0100
@@ -351,8 +351,8 @@
     def _namespacesGetEb(self, failure_):
         log.error(_("Can't get namespaces map: {msg}").format(msg=failure_))
 
-    def _encryptionPluginsGetCb(self, plugins):
-        self.encryption_plugins = plugins
+    def _encryptionPluginsGetCb(self, plugins_ser):
+        self.encryption_plugins = data_format.deserialise(plugins_ser, type_check=list)
 
     def _encryptionPluginsGetEb(self, failure_):
         log.warning(_("Can't retrieve encryption plugins: {msg}").format(msg=failure_))