fix more #pylint issues
This commit is contained in:
parent
1929eb320f
commit
f68099f584
4 changed files with 5 additions and 5 deletions
|
|
@ -158,7 +158,7 @@ class WSGIWrapper(object):
|
|||
for chunk in result:
|
||||
if chunk and not self.set_headers:
|
||||
raise RuntimeError, "write() called before start_response()"
|
||||
write(data)
|
||||
write(chunk)
|
||||
if not req.bytes_sent:
|
||||
#application sent nothing back
|
||||
req.set_content_length(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue