changeset 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 cdc3e437b481
children 5cf184398ee7
files contrib/import-checker.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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',
 )