From 221da68b52f82b5650fe7d77620b28a04a300779 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Thu, 12 Sep 2024 14:30:57 +0200 Subject: [PATCH] [report] print plugname instead of plugin tuple Replace (count, plugname) by pure plugname in two debug logs - the int is misleading rather than helping. Resolves: #3778 Signed-off-by: Pavel Moravec --- sos/report/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sos/report/__init__.py b/sos/report/__init__.py index 2429406902..444880901d 100644 --- a/sos/report/__init__.py +++ b/sos/report/__init__.py @@ -1372,13 +1372,14 @@ def collect_plugin(self, plugin): self.pluglist.remove(plugin) except ValueError: self.soslog.debug( - f"Could not remove {plugin} from plugin list, ignoring..." + f"Could not remove {plugname} from plugin list, " + f"ignoring..." ) try: self.running_plugs.remove(plugname) except ValueError: self.soslog.debug( - f"Could not remove {plugin} from running plugin list, " + f"Could not remove {plugname} from running plugin list, " f"ignoring..." ) status = ''