# HG changeset patch # User Augie Fackler # Date 1299044122 21600 # Node ID 04a950b1c2adba3327da726807b6a467aa38f0e5 # Parent b64538363dbe10d0a49aa4ae37d5c3c72238f5c6 demandimport: blacklist rfc822 and mimetools to prevent spurious warnings diff -r b64538363dbe -r 04a950b1c2ad mercurial/demandimport.py --- a/mercurial/demandimport.py Mon Jul 25 20:46:30 2011 -0500 +++ b/mercurial/demandimport.py Tue Mar 01 23:35:22 2011 -0600 @@ -137,6 +137,8 @@ # raise ImportError if x not defined '__main__', '_ssl', # conditional imports in the stdlib, issue1964 + 'rfc822', + 'mimetools', ] def enable():