Skip to content

Commit

Permalink
fix sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrizek committed Apr 29, 2024
1 parent 8c4181e commit 8b73871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ansible/modules/dnf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,11 @@ def fail_on_non_existing_plugins(self, base):
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))
Expand Down

0 comments on commit 8b73871

Please sign in to comment.