changeset 3270:0c3b7ee2628f

plugin list of interest: fixed wrong variable used in a log
author Goffi <goffi@goffi.org>
date Mon, 18 May 2020 23:31:55 +0200
parents 1352564e0202
children abca25af06d7
files sat/plugins/plugin_exp_list_of_interest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_exp_list_of_interest.py	Mon May 18 23:30:55 2020 +0200
+++ b/sat/plugins/plugin_exp_list_of_interest.py	Mon May 18 23:31:55 2020 +0200
@@ -232,7 +232,7 @@
                     interest_elt = next(item.elements(NS_LIST_INTEREST, "interest"))
                 except StopIteration:
                     log.warning(_("Missing interest element: {xml}").format(
-                        xml=interest_elt.toXml()))
+                        xml=item.toXml()))
                     continue
                 if interest_elt.getAttribute("namespace") == namespace:
                     filtered_items.append(item)