From a693f9f53e519536defbc384e4ebeec438a3ab55 Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 18 May 2020 23:31:55 +0200 Subject: [PATCH] plugin list of interest: fixed wrong variable used in a log --- sat/plugins/plugin_exp_list_of_interest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/plugins/plugin_exp_list_of_interest.py b/sat/plugins/plugin_exp_list_of_interest.py index 79c335f3..5f3b4b2e 100644 --- a/sat/plugins/plugin_exp_list_of_interest.py +++ b/sat/plugins/plugin_exp_list_of_interest.py @@ -232,7 +232,7 @@ class ListInterest(object): 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)