mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #2665 from jettero/patch-1
integral? that took me a while to figure out
This commit is contained in:
commit
053e15c05c
@ -18,7 +18,7 @@ class ChunkedReader(object):
|
||||
|
||||
def read(self, size):
|
||||
if not isinstance(size, int):
|
||||
raise TypeError("size must be an integral type")
|
||||
raise TypeError("size must be an integer type")
|
||||
if size < 0:
|
||||
raise ValueError("Size must be positive.")
|
||||
if size == 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user