Only run the interpreter check once

reviewable/pr18001/r3
Matt Martz 10 years ago committed by John Barker
parent 4f9b6899fe
commit dcb17e1800

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

Loading…
Cancel
Save