mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix typo catched by pyflakes
This commit is contained in:
parent
2ab4bbf46f
commit
70b962e626
@ -61,6 +61,6 @@ def sendfile(fdout, fdin, offset, nbytes):
|
|||||||
_offset = ctypes.c_uint64(offset)
|
_offset = ctypes.c_uint64(offset)
|
||||||
sent = _sendfile(fdout, fdin, _offset, nbytes)
|
sent = _sendfile(fdout, fdin, _offset, nbytes)
|
||||||
if sent == -1:
|
if sent == -1:
|
||||||
e = ctypess.get_errno()
|
e = ctypes.get_errno()
|
||||||
raise OSError(e, os.strerror(e))
|
raise OSError(e, os.strerror(e))
|
||||||
return sent
|
return sent
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user