From a33d8062833d1bfec4777145cc484c1d6b9e141f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 27 Aug 2010 17:07:33 +0200 Subject: some automatic fixes --- module/remote/SecureXMLRPCServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/remote/SecureXMLRPCServer.py') diff --git a/module/remote/SecureXMLRPCServer.py b/module/remote/SecureXMLRPCServer.py index 7a60f6c90..48586ee0b 100644 --- a/module/remote/SecureXMLRPCServer.py +++ b/module/remote/SecureXMLRPCServer.py @@ -76,7 +76,7 @@ class AuthXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): def do_POST(self): # authentication - if self.authMap != None: # explicit None! + if self.authMap is not None: # explicit None! if self.headers.has_key('authorization') and self.headers['authorization'].startswith('Basic '): authenticationString = base64.b64decode(self.headers['authorization'].split(' ')[1]) if authenticationString.find(':') != -1: -- cgit v1.2.3