changeset 10612:30553ac3e355 stable

demandimport: blacklist _ssl (issue1964)
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 09 Mar 2010 16:03:57 +0100
parents 1037bd445768
children 65b178f30eae
files mercurial/demandimport.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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():