/gdata/tlslite/integration/__init__.py

http://radioappz.googlecode.com/ · Python · 17 lines · 14 code · 2 blank · 1 comment · 2 complexity · 09e211aa20be0af7c96f082eb96ea202 MD5 · raw file

  1. """Classes for integrating TLS Lite with other packages."""
  2. __all__ = ["AsyncStateMachine",
  3. "HTTPTLSConnection",
  4. "POP3_TLS",
  5. "IMAP4_TLS",
  6. "SMTP_TLS",
  7. "XMLRPCTransport",
  8. "TLSSocketServerMixIn",
  9. "TLSAsyncDispatcherMixIn",
  10. "TLSTwistedProtocolWrapper"]
  11. try:
  12. import twisted
  13. del twisted
  14. except ImportError:
  15. del __all__[__all__.index("TLSTwistedProtocolWrapper")]