X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa%2Fserver%2Fxmlrpcapi.py;h=74e002662fd003f3e78dd410ec33c6ae3859de4a;hp=1711f88531467e47ef944c0bebefbb2acf09d42c;hb=796d35d54ab31e209ddf76b4584b6508b309c6c1;hpb=5a6cbf4fa6837c81354b616d4cfa0352ec5367be diff --git a/sfa/server/xmlrpcapi.py b/sfa/server/xmlrpcapi.py index 1711f885..74e00266 100644 --- a/sfa/server/xmlrpcapi.py +++ b/sfa/server/xmlrpcapi.py @@ -136,7 +136,7 @@ class XmlrpcApi: interface = xmlrpc_client self.protocol = 'xmlrpc' (args, method) = xmlrpc_client.loads(data) - if method_map.has_key(method): + if method in method_map: method = method_map[method] methodresponse = True