summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/filesocket.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-09-01 14:25:30 -0400
committerLance Stout <lancestout@gmail.com>2010-09-01 14:25:30 -0400
commit576eefb09740959a1d4307010e42880acdc1954a (patch)
treee651eab4b2b199fd63cb5162bd5b3cb2ec83e6d3 /sleekxmpp/xmlstream/filesocket.py
parentaebd115ba2a8dfab7b345dfc121ec73b5dc7a5a1 (diff)
downloadslixmpp-576eefb09740959a1d4307010e42880acdc1954a.tar.gz
slixmpp-576eefb09740959a1d4307010e42880acdc1954a.tar.bz2
slixmpp-576eefb09740959a1d4307010e42880acdc1954a.tar.xz
slixmpp-576eefb09740959a1d4307010e42880acdc1954a.zip
Fixed line spacing in filesocket.py to please pep8.
Diffstat (limited to 'sleekxmpp/xmlstream/filesocket.py')
-rw-r--r--sleekxmpp/xmlstream/filesocket.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/filesocket.py b/sleekxmpp/xmlstream/filesocket.py
index b0c15562..441ff875 100644
--- a/sleekxmpp/xmlstream/filesocket.py
+++ b/sleekxmpp/xmlstream/filesocket.py
@@ -9,6 +9,7 @@
from socket import _fileobject
import socket
+
class FileSocket(_fileobject):
"""
@@ -25,6 +26,7 @@ class FileSocket(_fileobject):
if data is not None:
return data
+
class Socket26(socket._socketobject):
"""
@@ -37,4 +39,3 @@ class Socket26(socket._socketobject):
Return a regular file object corresponding to the socket. The mode
and bufsize arguments are as for the built-in open() function."""
return FileSocket(self._sock, mode, bufsize)
-