diff tests/test-acl.t @ 27272:69308357ecd1

import-checker: allow absolute imports of sub modules from local packages Before this patch, import-checker.py didn't know if a name in ImportFrom statement are module or not. Therefore, it complained the following example did "direct symbol import from mercurial". # hgext/foo.py from mercurial import hg This patch reuses the dict of local modules to filter out sub-module names.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 06 Dec 2015 14:18:19 +0900
parents 521c1a3139c9
children 77d25b913f80
line wrap: on
line diff