Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/demandimport.py @ 4126:b9dcee25be8e
Add _xmlplus to the demandimport blacklist. (HGCIA was failing to load.)
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sat, 03 Mar 2007 18:59:54 -0800 |
parents | 33988aaa1652 |
children | eb99af2d845e |
comparison
equal
deleted
inserted
replaced
4125:ef7c39ae5d4c | 4126:b9dcee25be8e |
---|---|
101 # set requested submodules for demand load | 101 # set requested submodules for demand load |
102 if not(hasattr(mod, x)): | 102 if not(hasattr(mod, x)): |
103 setattr(mod, x, _demandmod(x, mod.__dict__, mod.__dict__)) | 103 setattr(mod, x, _demandmod(x, mod.__dict__, mod.__dict__)) |
104 return mod | 104 return mod |
105 | 105 |
106 ignore = ['_hashlib', 'fcntl', 'win32com.gen_py'] | 106 ignore = ['_hashlib', '_xmlplus', 'fcntl', 'win32com.gen_py'] |
107 | 107 |
108 def enable(): | 108 def enable(): |
109 "enable global demand-loading of modules" | 109 "enable global demand-loading of modules" |
110 __builtins__["__import__"] = _demandimport | 110 __builtins__["__import__"] = _demandimport |
111 | 111 |