demandimport: blacklist rfc822 and mimetools to prevent spurious warnings
authorAugie Fackler <durin42@gmail.com>
Tue, 01 Mar 2011 23:35:22 -0600
changeset 14976 04a950b1c2ad
parent 14975 b64538363dbe
child 14977 1dbd42a02153
demandimport: blacklist rfc822 and mimetools to prevent spurious warnings
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():