fix ansible-doc listing with new docstring

fixes #10295
This commit is contained in:
Brian Coca 2015-03-04 09:39:06 -05:00
parent ffb281d96c
commit 4805fa6b0b

View file

@ -197,7 +197,7 @@ def get_module_list_text(module_list):
continue
try:
doc, plainexamples = module_docs.get_docstring(filename)
doc, plainexamples, returndocs = module_docs.get_docstring(filename)
desc = tty_ify(doc.get('short_description', '?')).strip()
if len(desc) > linelimit:
desc = desc[:linelimit] + '...'