ansible-doc: skip directories (new library/ format)

pull/2811/head
Jan-Piet Mens 12 years ago
parent 3789ac3784
commit 2f76bc9e47

@ -155,6 +155,8 @@ def main():
continue
filename = utils.plugins.module_finder.find_plugin(module)
if os.path.isdir(filename):
continue
try:
doc, plainexamples = module_docs.get_docstring(filename)
desc = tty_ify(doc.get('short_description', '?'))

Loading…
Cancel
Save