fix typo catched by pyflakes

This commit is contained in:
denis 2011-05-11 17:25:37 +07:00 committed by benoitc
parent 2ab4bbf46f
commit 70b962e626

View File

@ -61,6 +61,6 @@ def sendfile(fdout, fdin, offset, nbytes):
_offset = ctypes.c_uint64(offset)
sent = _sendfile(fdout, fdin, _offset, nbytes)
if sent == -1:
e = ctypess.get_errno()
e = ctypes.get_errno()
raise OSError(e, os.strerror(e))
return sent