Show More
@@ -278,6 +278,8 b' def list_stdlib_modules():' | |||||
278 | ): |
|
278 | ): | |
279 | continue |
|
279 | continue | |
280 | for top, dirs, files in os.walk(libpath): |
|
280 | for top, dirs, files in os.walk(libpath): | |
|
281 | if 'dist-packages' in top.split(os.path.sep): | |||
|
282 | continue | |||
281 | for i, d in reversed(list(enumerate(dirs))): |
|
283 | for i, d in reversed(list(enumerate(dirs))): | |
282 | if ( |
|
284 | if ( | |
283 | not os.path.exists(os.path.join(top, d, '__init__.py')) |
|
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