Make PEP8 cleanup of line spaces and character distances as well as indents
This commit is contained in:
parent
7ff783fea1
commit
b278337172
189 changed files with 2039 additions and 1583 deletions
|
|
@ -35,6 +35,7 @@ class LockableThreadPool(threadpool.ThreadPool):
|
|||
"""
|
||||
Threadpool that can be locked from accepting new requests.
|
||||
"""
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self._accept_new = True
|
||||
threadpool.ThreadPool.__init__(self, *args, **kwargs)
|
||||
|
|
@ -60,6 +61,7 @@ class HTTPChannelWithXForwardedFor(http.HTTPChannel):
|
|||
HTTP xforward class
|
||||
|
||||
"""
|
||||
|
||||
def allHeadersReceived(self):
|
||||
"""
|
||||
Check to see if this is a reverse proxied connection.
|
||||
|
|
@ -227,6 +229,7 @@ class WSGIWebServer(internet.TCPServer):
|
|||
call with WSGIWebServer(threadpool, port, wsgi_resource)
|
||||
|
||||
"""
|
||||
|
||||
def __init__(self, pool, *args, **kwargs):
|
||||
"""
|
||||
This just stores the threadpool.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue