fix more #pylint issues

This commit is contained in:
Mike McLean 2015-05-22 12:45:22 -04:00
parent 1929eb320f
commit f68099f584
4 changed files with 5 additions and 5 deletions

View file

@ -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)