diff options
| author | ianb <devnull@localhost> | 2006-10-20 22:08:05 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2006-10-20 22:08:05 +0000 |
| commit | 44fa5352360b78696c3d81cafa8e24eaa4f6c3ed (patch) | |
| tree | ccde2c446f352cb5344f3c9a40090f12290bf9a7 /paste/auth/basic.py | |
| parent | 9eadab4b64440958f99a2fa1798227bb4a53193c (diff) | |
| download | paste-44fa5352360b78696c3d81cafa8e24eaa4f6c3ed.tar.gz | |
A big commit, primarily aesthetic/whitespace in nature. This is the result of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
Diffstat (limited to 'paste/auth/basic.py')
| -rw-r--r-- | paste/auth/basic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/auth/basic.py b/paste/auth/basic.py index 1a91e04..c51dde5 100644 --- a/paste/auth/basic.py +++ b/paste/auth/basic.py @@ -41,11 +41,11 @@ class AuthBasicAuthenticator: authorization = AUTHORIZATION(environ) if not authorization: return self.build_authentication() - (authmeth, auth) = authorization.split(' ',1) + (authmeth, auth) = authorization.split(' ', 1) if 'basic' != authmeth.lower(): return self.build_authentication() auth = auth.strip().decode('base64') - username, password = auth.split(':',1) + username, password = auth.split(':', 1) if self.authfunc(environ, username, password): return username return self.build_authentication() |
