short_description is just basestring (#35)

As of ansible/ansible 883f451158
'short_description' value is expected to only be a string.

This should catch issues like
https://github.com/ansible/ansible/issues/17634
reviewable/pr18001/r9
Adrian Likins 8 years ago committed by John Barker
parent 3eec84b69a
commit f883b33441

@ -32,7 +32,7 @@ option_schema = Schema(
doc_schema = Schema( doc_schema = Schema(
{ {
Required('module'): basestring, Required('module'): basestring,
'short_description': Any(basestring, [basestring]), 'short_description': basestring,
'description': Any(basestring, [basestring]), 'description': Any(basestring, [basestring]),
'version_added': Any(basestring, float), 'version_added': Any(basestring, float),
'author': Any(None, basestring, [basestring]), 'author': Any(None, basestring, [basestring]),

Loading…
Cancel
Save