diff options
author | Ask Solem <askh@modwheel.net> | 2009-03-17 16:02:30 +0100 |
---|---|---|
committer | Ask Solem Hoel <askh@opera.com> | 2009-03-17 16:02:30 +0100 |
commit | 3a02eab480b1dac35a40a65eabc2a019798b1184 (patch) | |
tree | 401a8c79ec74ac676df24d10d4c46bb6bf5e7ca4 | |
parent | fe01b7f71fe925965c0ebc0cd7c875323760372d (diff) | |
download | chishop-3a02eab480b1dac35a40a65eabc2a019798b1184.tar.bz2 chishop-3a02eab480b1dac35a40a65eabc2a019798b1184.tar.xz chishop-3a02eab480b1dac35a40a65eabc2a019798b1184.zip |
Fix typo
-rw-r--r-- | djangopypi/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangopypi/views.py b/djangopypi/views.py index 296ecea..bcba5ae 100644 --- a/djangopypi/views.py +++ b/djangopypi/views.py | |||
@@ -74,7 +74,7 @@ def parse_weird_post_data(data): | |||
74 | 74 | ||
75 | def login_basic_auth(request): | 75 | def login_basic_auth(request): |
76 | authentication = request.META.get("HTTP_AUTHORIZATION") | 76 | authentication = request.META.get("HTTP_AUTHORIZATION") |
77 | if not auth: | 77 | if not authentication: |
78 | return | 78 | return |
79 | (authmeth, auth) = authentication.split(' ', 1) | 79 | (authmeth, auth) = authentication.split(' ', 1) |
80 | if authmeth.lower() != "basic": | 80 | if authmeth.lower() != "basic": |