1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Only run the interpreter check once

This commit is contained in:
Matt Martz 2015-05-26 13:42:36 -05:00 committed by John Barker
parent 4f9b6899fe
commit dcb17e1800

View file

@ -290,7 +290,6 @@ class ModuleValidator(Validator):
self.warnings.append('No RETURN provided')
if self._python_module() and not self._just_docs():
self._check_interpreter()
self._check_for_sys_exit()
self._find_json_import()
main = self._find_main_call()