From c448a418fdff9ba40847be7da22cd555014b5c4d Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 24 Feb 2017 12:34:41 -0800 Subject: [PATCH] Treat deprecated modules as old during validation. --- test/sanity/validate-modules/validate-modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity/validate-modules/validate-modules b/test/sanity/validate-modules/validate-modules index 15c2896d5ab..021730939fa 100755 --- a/test/sanity/validate-modules/validate-modules +++ b/test/sanity/validate-modules/validate-modules @@ -277,7 +277,7 @@ class ModuleValidator(Validator): return t.name 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): if powershell: