hgdemandimport/__init__.py
changeset 48947 425585f057e0
parent 48875 6000f5b25c9b
child 49279 127d33e63d1a
equal deleted inserted replaced
48946:642e31cb55f0 48947:425585f057e0
    13 
    13 
    14 
    14 
    15 import os
    15 import os
    16 import sys
    16 import sys
    17 
    17 
    18 if sys.version_info[0] >= 3:
    18 from . import demandimportpy3 as demandimport
    19     from . import demandimportpy3 as demandimport
       
    20 else:
       
    21     from . import demandimportpy2 as demandimport
       
    22 
    19 
    23 # Full module names which can't be lazy imported.
    20 # Full module names which can't be lazy imported.
    24 # Extensions can add to this set.
    21 # Extensions can add to this set.
    25 IGNORES = {
    22 IGNORES = {
    26     '__future__',
    23     '__future__',