ansible-doc: remove unnecessary parameter value (#86900)

* remove extraneous display.vvv and display.warning parameter

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2026-05-05 08:21:01 -07:00
committed by GitHub
parent 87547967e6
commit ef4cb719c7
+2 -2
View File
@@ -361,7 +361,7 @@ class RoleMixin(object):
try:
meta = self._load_metadata(role, role_path, collection)
except Exception as e:
display.vvv('No metadata for role (%s) due to: %s' % (role, to_native(e)), True)
display.vvv(f'No metadata for role ({role}) due to: {e}')
meta = {}
argspec = self._load_argspec(role, role_path, collection)
@@ -369,7 +369,7 @@ class RoleMixin(object):
if fail_on_errors:
raise argspec['exception']
else:
display.warning('Skipping role (%s) due to: %s' % (role, argspec['error']), True)
display.warning(f'Skipping role ({role}) due to: {argspec["error"]}')
continue
fqcn, summary = self._build_summary(role, collection, meta, argspec)