From: Will S. <wil...@gm...> - 2009-06-19 19:40:00
|
Hey guys, I'm getting a lot of deprecation warning with the library. Here's what I've found so far: xmpp/auth.py: -import sha,base64,random,dispatcher,re -import md5 +try: + import base64,random,dispatcher,re + from hashlib import sha, md5 +except ImportError: + import sha,base64,random,dispatcher,re + import md5 xmpp/transport.py: The line's that getting the deprecation warning: 307:tcpsock._sslObj = socket.ssl(tcpsock._sock, None, None) It is now asking to import the ssl library and use the ssl.wrap_socket() class instead of socket.ssl() If you need someone to test this or to help with development, I'd be willing to take a look. Thanks, Will |