Show More
@@ -169,7 +169,7 b' def check_one_mod(mod, imports, path=Non' | |||||
169 | ignore = [] |
|
169 | ignore = [] | |
170 | path = path + [mod] |
|
170 | path = path + [mod] | |
171 | for i in sorted(imports.get(mod, [])): |
|
171 | for i in sorted(imports.get(mod, [])): | |
172 | if i not in stdlib_modules: |
|
172 | if i not in stdlib_modules and not i.startswith('mercurial.'): | |
173 | i = mod.rsplit('.', 1)[0] + '.' + i |
|
173 | i = mod.rsplit('.', 1)[0] + '.' + i | |
174 | if i in path: |
|
174 | if i in path: | |
175 | firstspot = path.index(i) |
|
175 | firstspot = path.index(i) |
General Comments 0
You need to be logged in to leave comments.
Login now