diff options
author | ianb <devnull@localhost> | 2006-10-20 22:08:05 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-10-20 22:08:05 +0000 |
commit | 44fa5352360b78696c3d81cafa8e24eaa4f6c3ed (patch) | |
tree | ccde2c446f352cb5344f3c9a40090f12290bf9a7 /paste/util/scgiserver.py | |
parent | 9eadab4b64440958f99a2fa1798227bb4a53193c (diff) | |
download | paste-44fa5352360b78696c3d81cafa8e24eaa4f6c3ed.tar.gz |
A big commit, primarily aesthetic/whitespace in nature. This is the result of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
Diffstat (limited to 'paste/util/scgiserver.py')
-rw-r--r-- | paste/util/scgiserver.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/paste/util/scgiserver.py b/paste/util/scgiserver.py index 332f6f1..b52ed9d 100644 --- a/paste/util/scgiserver.py +++ b/paste/util/scgiserver.py @@ -59,10 +59,10 @@ class SWAP(scgi_server.SCGIHandler): environ = self.read_env(input) environ['wsgi.input'] = input environ['wsgi.errors'] = sys.stderr - environ['wsgi.version'] = (1,0) + environ['wsgi.version'] = (1, 0) environ['wsgi.multithread'] = False environ['wsgi.multiprocess'] = True - environ['wsgi.run_once'] = False + environ['wsgi.run_once'] = False # dunno how SCGI does HTTPS signalling; can't test it myself... @CTB if environ.get('HTTPS','off') in ('on','1'): @@ -86,7 +86,7 @@ class SWAP(scgi_server.SCGIHandler): def write(data): chunks.append(data) - def start_response(status,response_headers,exc_info=None): + def start_response(status, response_headers, exc_info=None): if exc_info: try: if headers_sent: @@ -97,7 +97,7 @@ class SWAP(scgi_server.SCGIHandler): elif headers_set: raise AssertionError("Headers already set!") - headers_set[:] = [status,response_headers] + headers_set[:] = [status, response_headers] return write ### |