diff options
author | Dirk Wallenstein <halsmit@t-online.de> | 2011-01-12 23:05:08 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2011-02-11 08:52:19 +0800 |
commit | bf0aef79a1e5b1d0b78c10df4a610b0a7b2d365f (patch) | |
tree | 44b099a890adbbbab26df53bcde11c111749e2f9 /apps/patchwork/views/xmlrpc.py | |
parent | 9dee7bf3a168d7662709b5e0fba04ef34e05c01e (diff) | |
download | patchwork-bf0aef79a1e5b1d0b78c10df4a610b0a7b2d365f.tar.bz2 patchwork-bf0aef79a1e5b1d0b78c10df4a610b0a7b2d365f.tar.xz |
Replace tab in indentation with space
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/views/xmlrpc.py')
-rw-r--r-- | apps/patchwork/views/xmlrpc.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/patchwork/views/xmlrpc.py b/apps/patchwork/views/xmlrpc.py index 0d3321f..3310e69 100644 --- a/apps/patchwork/views/xmlrpc.py +++ b/apps/patchwork/views/xmlrpc.py @@ -59,14 +59,14 @@ class PatchworkXMLRPCDispatcher(SimpleXMLRPCDispatcher): def _user_for_request(self, request): - auth_header = None + auth_header = None if request.META.has_key('HTTP_AUTHORIZATION'): - auth_header = request.META.get('HTTP_AUTHORIZATION') + auth_header = request.META.get('HTTP_AUTHORIZATION') elif request.META.has_key('Authorization'): - auth_header = request.META.get('Authorization') + auth_header = request.META.get('Authorization') - if auth_header is None or auth_header == '': + if auth_header is None or auth_header == '': raise Exception("No authentication credentials given") str = auth_header.strip() |