mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Fixed line spacing in filesocket.py to please pep8.
This commit is contained in:
parent
aebd115ba2
commit
576eefb097
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue