demandimport: ignore _hashlib and email.mime
authorMatt Mackall <mpm@selenic.com>
Fri, 15 Dec 2006 12:38:18 -0600
changeset 3894 f47afa2401a2
parent 3893 070628929e1f
child 3898 316cd5b0c940
demandimport: ignore _hashlib and email.mime This makes things work with Python2.5. A better fix would be to fix demandload to use __getattribute__ to be more transparent.
mercurial/demandimport.py
--- a/mercurial/demandimport.py	Fri Dec 15 01:17:04 2006 -0600
+++ b/mercurial/demandimport.py	Fri Dec 15 12:38:18 2006 -0600
@@ -92,7 +92,7 @@
                 setattr(mod, x, _demandmod(x, mod.__dict__, mod.__dict__))
         return mod
 
-ignore = []
+ignore = ['_hashlib', 'email.mime']
 
 def enable():
     "enable global demand-loading of modules"