summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/filesocket.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-10-24 01:20:23 -0700
committerLance Stout <lancestout@gmail.com>2012-10-24 01:20:23 -0700
commit2a4e4352282e393e2843bc8d4c5847d7351ef34c (patch)
tree34bcb68a0f93af65485823745db4d70ba5e1f08a /sleekxmpp/xmlstream/filesocket.py
parentc5046b9c91a77488424c1f77407a2875a9fea45a (diff)
downloadslixmpp-2a4e4352282e393e2843bc8d4c5847d7351ef34c.tar.gz
slixmpp-2a4e4352282e393e2843bc8d4c5847d7351ef34c.tar.bz2
slixmpp-2a4e4352282e393e2843bc8d4c5847d7351ef34c.tar.xz
slixmpp-2a4e4352282e393e2843bc8d4c5847d7351ef34c.zip
Enable gevent support.
Closes issues #166 and #167 Thanks to @pvicent, @chason, and @gabriel-samfira
Diffstat (limited to 'sleekxmpp/xmlstream/filesocket.py')
-rw-r--r--sleekxmpp/xmlstream/filesocket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/filesocket.py b/sleekxmpp/xmlstream/filesocket.py
index 56554c73..d4537998 100644
--- a/sleekxmpp/xmlstream/filesocket.py
+++ b/sleekxmpp/xmlstream/filesocket.py
@@ -34,7 +34,7 @@ class FileSocket(_fileobject):
return data
-class Socket26(socket._socketobject):
+class Socket26(socket.socket):
"""A custom socket implementation that uses our own FileSocket class
to work around issues in Python 2.6 when using sockets as files.