changeset 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 070628929e1f
children 316cd5b0c940
files mercurial/demandimport.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"