From 70b962e626904f955bb05b8199f71282a5c349a8 Mon Sep 17 00:00:00 2001 From: denis Date: Wed, 11 May 2011 17:25:37 +0700 Subject: [PATCH] fix typo catched by pyflakes --- gunicorn/http/_sendfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/http/_sendfile.py b/gunicorn/http/_sendfile.py index 698d9404..ec1a6d42 100644 --- a/gunicorn/http/_sendfile.py +++ b/gunicorn/http/_sendfile.py @@ -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