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:
parent
4f9b6899fe
commit
dcb17e1800
1 changed files with 0 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue