From 47efa42f8c61bbec5c697e13779c7f414cf6facc Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Mon, 29 Apr 2024 15:15:21 +0200 Subject: [PATCH] fix sanity --- lib/ansible/modules/dnf5.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/dnf5.py b/lib/ansible/modules/dnf5.py index 4a79c2d725d..4007752adf2 100644 --- a/lib/ansible/modules/dnf5.py +++ b/lib/ansible/modules/dnf5.py @@ -442,11 +442,11 @@ class Dnf5Module(YumDnf): msg = [] if enable_unmatched := set(self.enable_plugin).difference(plugin_names): msg.append( - f"No matches were found for the following plugin name patterns while enabling libdnf5 plugins: {", ".join(enable_unmatched)}." + f"No matches were found for the following plugin name patterns while enabling libdnf5 plugins: {', '.join(enable_unmatched)}." ) if disable_unmatched := set(self.disable_plugin).difference(plugin_names): msg.append( - f"No matches were found for the following plugin name patterns while disabling libdnf5 plugins: {", ".join(disable_unmatched)}." + f"No matches were found for the following plugin name patterns while disabling libdnf5 plugins: {', '.join(disable_unmatched)}." ) if msg: self.module.fail_json(msg=" ".join(msg))