diff sat/plugins/plugin_exp_list_of_interest.py @ 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 559a625a236b
children 83795ff8a633
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)