# HG changeset patch # User Augie Fackler # Date 2011-03-02 05:35:22 # Node ID 04a950b1c2adba3327da726807b6a467aa38f0e5 # Parent b64538363dbe10d0a49aa4ae37d5c3c72238f5c6 demandimport: blacklist rfc822 and mimetools to prevent spurious warnings diff --git a/mercurial/demandimport.py b/mercurial/demandimport.py --- a/mercurial/demandimport.py +++ b/mercurial/demandimport.py @@ -137,6 +137,8 @@ ignore = [ # raise ImportError if x not defined '__main__', '_ssl', # conditional imports in the stdlib, issue1964 + 'rfc822', + 'mimetools', ] def enable():