demandimport: blacklist _ssl (issue1964) stable
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Tue, 09 Mar 2010 16:03:57 +0100
branchstable
changeset 10612 30553ac3e355
parent 10598 1037bd445768
child 10616 65b178f30eae
demandimport: blacklist _ssl (issue1964)
mercurial/demandimport.py
--- a/mercurial/demandimport.py	Wed Jan 20 20:23:36 2010 -0500
+++ b/mercurial/demandimport.py	Tue Mar 09 16:03:57 2010 +0100
@@ -133,6 +133,7 @@
     # setuptools' pkg_resources.py expects "from __main__ import x" to
     # raise ImportError if x not defined
     '__main__',
+    '_ssl', # conditional imports in the stdlib, issue1964
     ]
 
 def enable():