Clarify that RETURN is a form of documentation

This commit is contained in:
Matt Martz 2016-02-16 14:07:54 -06:00 committed by John Barker
parent fca2f088ea
commit ef55f9a243

View file

@ -437,7 +437,7 @@ class ModuleValidator(Validator):
self.errors.append('No EXAMPLES provided')
if not bool(ret):
if self._is_new_module():
self.errors.append('No RETURN provided')
self.errors.append('No RETURN documentation provided')
else:
self.warnings.append('No RETURN provided')
else: