summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/xmlstream.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-08-27 11:29:48 -0400
committerLance Stout <lancestout@gmail.com>2010-08-27 11:29:48 -0400
commit6677df39f2ed3a949fa31df847bb08122190a26d (patch)
tree3b7c61b0b31c5f6e7aec94e9c00077bd78ce8be9 /sleekxmpp/xmlstream/xmlstream.py
parenta2c515bc978cbabb1e6ac4398a8f0a11bbc9d9f8 (diff)
downloadslixmpp-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.py3
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