# HG changeset patch # User Yuya Nishihara # Date 1446353721 -32400 # Node ID e5be48dd8215c63e6b79c2926d707e9b3ff2c504 # Parent cdc3e437b48164161b33f56fbf98c82c8b0c1a34 import-checker: allow symbol imports from hgweb.common and .request This seems the convention of hgweb. diff -r cdc3e437b481 -r e5be48dd8215 contrib/import-checker.py --- 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', )