Um, that was dumb, and apparently not tested, good job self.

pull/4420/head
Matt Martz 2015-05-19 11:15:10 -05:00 committed by John Barker
parent 58703e47ac
commit b121d202f5
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class ModuleValidator(Validator):
main = self._find_main_call()
for mu in module_utils:
if mu < main - 10:
self.errors.warnings('module_utils import not near main()')
self.warnings.append('module_utils import not near main()')
self._find_has_import()