# HG changeset patch # User Matt Mackall # Date 1166207898 21600 # Node ID f47afa2401a2b92fc1a891c6d74efe8d0e95343f # Parent 070628929e1fce07ee6e242fe4157b12c00a1102 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. diff -r 070628929e1f -r f47afa2401a2 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"