##// END OF EJS Templates
check-module-imports: ignore non-stdlib module installed by distribution...
marmoute -
r48602:42e2cdb5 stable
parent child Browse files
Show More
@@ -278,6 +278,8 def list_stdlib_modules():
278 278 ):
279 279 continue
280 280 for top, dirs, files in os.walk(libpath):
281 if 'dist-packages' in top.split(os.path.sep):
282 continue
281 283 for i, d in reversed(list(enumerate(dirs))):
282 284 if (
283 285 not os.path.exists(os.path.join(top, d, '__init__.py'))
General Comments 0
You need to be logged in to leave comments. Login now