changeset 40:bb69b82ddd17

misspelling
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 01 Mar 2012 10:16:12 -0800
parents 619b7612c7e9
children c934505fa098
files simpypi/wsgi.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/simpypi/wsgi.py	Thu Mar 01 10:03:11 2012 -0800
+++ b/simpypi/wsgi.py	Thu Mar 01 10:16:12 2012 -0800
@@ -56,7 +56,7 @@
             return exc.HTTPBadRequest()
 
         # sanity check: is it a file? (TODO)
-        if not hasattr(package, 'file') or not hastattr(package, 'filename'):
+        if not hasattr(package, 'file') or not hasattr(package, 'filename'):
             return exc.HTTPBadRequest()
 
         # successful response