Mercurial > public > mercurial-scm > hg-stable
diff contrib/import-checker.py @ 27018:e5be48dd8215
import-checker: allow symbol imports from hgweb.common and .request
This seems the convention of hgweb.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 01 Nov 2015 13:55:21 +0900 |
parents | 1fa66d3ad28d |
children | 69308357ecd1 |
line wrap: on
line diff
--- a/contrib/import-checker.py Thu Nov 19 15:02:27 2015 -0600 +++ b/contrib/import-checker.py Sun Nov 01 13:55:21 2015 +0900 @@ -14,6 +14,8 @@ # Whitelist of modules that symbols can be directly imported from. allowsymbolimports = ( '__future__', + 'mercurial.hgweb.common', + 'mercurial.hgweb.request', 'mercurial.i18n', 'mercurial.node', )