diff --git a/docs/bin/plugin_formatter.py b/docs/bin/plugin_formatter.py index 65d803faa9..11db00b6de 100755 --- a/docs/bin/plugin_formatter.py +++ b/docs/bin/plugin_formatter.py @@ -293,7 +293,7 @@ def get_plugin_info(module_dir, limit_to=None, verbose=False): # use ansible core library to parse out doc metadata YAML and plaintext examples doc, examples, returndocs, metadata = plugin_docs.get_docstring(module_path, fragment_loader, verbose=verbose) - if metadata and 'removed' in metadata.get('status'): + if metadata and 'removed' in metadata.get('status', []): continue category = categories