demandimport causes PyOpenSSL fail to load
Bug description
After I updated to 12752, the testing PyOpenSSL ("PyOpenSSL not found, falling back to Python builtin SSL objects (insecure).") shows up every time I starts Gajim.
Steps to reproduce
I tried to import OpenSSL.SSL, OpenSSL.crypto in python -- no problem. But in tls_nb.py line 41, the ImportError is always raised. Then I moved the 2 import statements outside the try block (just before the try keyword), I got the error report in the attachment.
Software versions
OS version: FreeBSD 8.2-PRERELEASE
GTK version: 2.22.1
PyGTK version: 2.22.0