From 39d941ddcfd826347e3f1e64637bc9b0b2041dd3 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 3 May 2019 20:44:55 +0200 Subject: [PATCH] plugin list interests: add "namespace" in serialised data --- sat/plugins/plugin_exp_list_of_interest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sat/plugins/plugin_exp_list_of_interest.py b/sat/plugins/plugin_exp_list_of_interest.py index 3a65968b..e73ce9de 100644 --- a/sat/plugins/plugin_exp_list_of_interest.py +++ b/sat/plugins/plugin_exp_list_of_interest.py @@ -161,6 +161,8 @@ class ListInterest(object): for item_elt in interests_data[0]: interest_data = {} interest_elt = item_elt.interest + if interest_elt.hasAttribute(u'namespace'): + interest_data[u'namespace'] = interest_elt.getAttribute(u'namespace') if interest_elt.hasAttribute(u'name'): interest_data[u'name'] = interest_elt.getAttribute(u'name') if interest_elt.hasAttribute(u'thumb_url'):