contrib/import-checker.py
changeset 27018 e5be48dd8215
parent 26965 1fa66d3ad28d
child 27272 69308357ecd1
equal deleted inserted replaced
27017:cdc3e437b481 27018:e5be48dd8215
    12 import zlib
    12 import zlib
    13 
    13 
    14 # Whitelist of modules that symbols can be directly imported from.
    14 # Whitelist of modules that symbols can be directly imported from.
    15 allowsymbolimports = (
    15 allowsymbolimports = (
    16     '__future__',
    16     '__future__',
       
    17     'mercurial.hgweb.common',
       
    18     'mercurial.hgweb.request',
    17     'mercurial.i18n',
    19     'mercurial.i18n',
    18     'mercurial.node',
    20     'mercurial.node',
    19 )
    21 )
    20 
    22 
    21 # Modules that must be aliased because they are commonly confused with
    23 # Modules that must be aliased because they are commonly confused with