Skip to content

Commit

Permalink
Remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Dec 13, 2017
1 parent 11e2317 commit 6077c0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions meinheld/msocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,12 +419,12 @@ def internal_shutdown(s, how):

if is_py3():
class socket(object):

patched = True
#__slots__ = ["__weakref__", "_io_refs", "_closed", "_sock", "timeout"]

def __init__(self, family=AF_INET, type=SOCK_STREAM, proto=0, fileno=None):

self._sock = _socket.socket(family, type, proto, fileno)

self._io_refs = 0
Expand Down Expand Up @@ -607,7 +607,7 @@ def accept(self):
SocketType = socket

if hasattr(_socket, 'socketpair'):

def socketpair(*args):
one, two = _socket.socketpair(*args)
return socket(_sock=one), socket(_sock=two)
Expand All @@ -618,7 +618,7 @@ def socketpair(*args):
pass
else:
if hasattr(_socket, 'fromfd'):

def fromfd(*args):
return socket(_sock=_socket.fromfd(*args))
else:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def error(self, exc, val, tb):
assert(exc != None)
assert(val != None)
assert(tb != None)


class App(BaseApp):

Expand Down

0 comments on commit 6077c0f

Please sign in to comment.