changeset 22974 | 6bd43614d387 |
parent 20391 | 466e4c574db0 |
child 22975 | 461342e1c8aa |
--- a/contrib/import-checker.py Fri Oct 17 02:07:04 2014 +0900 +++ b/contrib/import-checker.py Fri Oct 17 02:07:05 2014 +0900 @@ -169,7 +169,7 @@ ignore = [] path = path + [mod] for i in sorted(imports.get(mod, [])): - if i not in stdlib_modules: + if i not in stdlib_modules and not i.startswith('mercurial.'): i = mod.rsplit('.', 1)[0] + '.' + i if i in path: firstspot = path.index(i)