Commit b836ca87 authored by Denis Bilenko's avatar Denis Bilenko

wsgi_test.py: minor formatting change

parent 64ef9a94
...@@ -107,7 +107,7 @@ def read_headers(fd): ...@@ -107,7 +107,7 @@ def read_headers(fd):
try: try:
key, value = line.split(': ', 1) key, value = line.split(': ', 1)
except: except:
print 'bad line:', `line` print 'Failed to split: %r' % (line, )
raise raise
headers[key.lower()] = value headers[key.lower()] = value
return response_line, headers return response_line, headers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment