diff mercurial/demandimport.py @ 14977:04a950b1c2ad

demandimport: blacklist rfc822 and mimetools to prevent spurious warnings
author Augie Fackler <durin42@gmail.com>
date Tue, 01 Mar 2011 23:35:22 -0600 (2011-03-02)
parents 4db5bfea1b07
children 1dbd42a02153
line wrap: on
line diff
--- a/mercurial/demandimport.py
+++ b/mercurial/demandimport.py
@@ -137,6 +137,8 @@
     # raise ImportError if x not defined
     '__main__',
     '_ssl', # conditional imports in the stdlib, issue1964
+    'rfc822',
+    'mimetools',
     ]
 
 def enable():