diff options
author | Lance Stout <lancestout@gmail.com> | 2010-08-27 11:29:48 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-08-27 11:29:48 -0400 |
commit | 6677df39f2ed3a949fa31df847bb08122190a26d (patch) | |
tree | 3b7c61b0b31c5f6e7aec94e9c00077bd78ce8be9 /sleekxmpp/xmlstream/xmlstream.py | |
parent | a2c515bc978cbabb1e6ac4398a8f0a11bbc9d9f8 (diff) | |
download | slixmpp-6677df39f2ed3a949fa31df847bb08122190a26d.tar.gz slixmpp-6677df39f2ed3a949fa31df847bb08122190a26d.tar.bz2 slixmpp-6677df39f2ed3a949fa31df847bb08122190a26d.tar.xz slixmpp-6677df39f2ed3a949fa31df847bb08122190a26d.zip |
Updated xmlstream.filesocket.
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index bf39bb33..415567e2 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -139,8 +139,7 @@ class XMLStream(object): self.socket = ssl.wrap_socket(self.socket, ssl_version=ssl.PROTOCOL_TLSv1, do_handshake_on_connect=False) self.socket.do_handshake() if sys.version_info < (3,0): - from . filesocket import filesocket - self.filesocket = filesocket(self.socket) + self.filesocket = filesocket.FileSocket(self.socket) else: self.filesocket = self.socket.makefile('rb', 0) return True |