Mercurial > libervia-backend
diff sat/plugins/plugin_exp_list_of_interest.py @ 2936:782612c7854b
plugin list interests: add "namespace" in serialised data
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 03 May 2019 20:44:55 +0200 |
parents | 47df940738a7 |
children | ef554aca3eb1 |
line wrap: on
line diff
--- a/sat/plugins/plugin_exp_list_of_interest.py Fri May 03 20:42:21 2019 +0200 +++ b/sat/plugins/plugin_exp_list_of_interest.py Fri May 03 20:44:55 2019 +0200 @@ -161,6 +161,8 @@ 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'):