diff mercurial/demandimport.py @ 3894:f47afa2401a2

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.
author Matt Mackall <mpm@selenic.com>
date Fri, 15 Dec 2006 12:38:18 -0600
parents abaee83ce0a6
children 316cd5b0c940
line wrap: on
line diff
--- 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"