Treat deprecated modules as old during validation.

This commit is contained in:
Matt Clay 2017-02-24 12:34:41 -08:00
parent 4e0f82e0e9
commit c448a418fd

View file

@ -277,7 +277,7 @@ class ModuleValidator(Validator):
return t.name return t.name
def _is_new_module(self): def _is_new_module(self):
return bool(self.base_branch) and not bool(self.base_module) return not self.object_name.startswith('_') and bool(self.base_branch) and not bool(self.base_module)
def _check_interpreter(self, powershell=False): def _check_interpreter(self, powershell=False):
if powershell: if powershell: