demandimport: blacklist _hashlib again (imported in ImportError try block)
authorBrendan Cully <brendan@kublai.com>
Sun, 17 Dec 2006 18:45:46 -0800
changeset 3924 a8bd7280330f
parent 3923 de6ae8f016af
child 3928 4df475e22248
demandimport: blacklist _hashlib again (imported in ImportError try block)
mercurial/demandimport.py
--- a/mercurial/demandimport.py
+++ b/mercurial/demandimport.py
@@ -103,7 +103,7 @@ def _demandimport(name, globals=None, lo
                 setattr(mod, x, _demandmod(x, mod.__dict__, mod.__dict__))
         return mod
 
-ignore = []
+ignore = ['_hashlib']
 
 def enable():
     "enable global demand-loading of modules"