Clarify that RETURN is a form of documentation

reviewable/pr18001/r3
Matt Martz 9 years ago committed by John Barker
parent fca2f088ea
commit ef55f9a243

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

Loading…
Cancel
Save