Skip to content

Commit

Permalink
Python 3 compat: Fix precedence bug
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu authored and jstasiak committed Oct 11, 2014
1 parent 93f2a8d commit e61bb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventlet/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def start_response(status, response_headers, exc_info=None):
result.close()
if (self.environ['eventlet.input'].chunked_input or
self.environ['eventlet.input'].position
< self.environ['eventlet.input'].content_length or 0):
< (self.environ['eventlet.input'].content_length or 0)):
# Read and discard body if there was no pending 100-continue
if not self.environ['eventlet.input'].wfile:
# NOTE: MINIMUM_CHUNK_SIZE is used here for purpose different than chunking.
Expand Down

0 comments on commit e61bb73

Please sign in to comment.