[PATCH 1 of 3 RFC] demandimport: blacklist rfc822 and mimetools to prevent spurious warnings
Augie Fackler
durin42 at gmail.com
Wed Mar 2 05:36:40 UTC 2011
# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1299044122 21600
# Branch stable
# Node ID f202bb8bc5e81a41893144065cc634a786d549b0
# Parent da192c62f89edbcaa86f8af41cfb2c4879cd0dbe
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 @@
# raise ImportError if x not defined
'__main__',
'_ssl', # conditional imports in the stdlib, issue1964
+ 'rfc822',
+ 'mimetools',
]
def enable():
More information about the Mercurial-devel
mailing list