From b9854b860fc37127b42970b340e92d84d86abaae Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 2 Feb 2012 15:16:17 +0100 Subject: refactoring in eclipse sucks sometimes --- src/meetingtools/ac/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index dd62d26..b89aae7 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -136,7 +136,7 @@ class ACPClient(): return self.find_or_create_principal(key,value,t,None) def _find_or_create_principal(self,key,value,t,d): - result = self.request('principal-list',{'filter-%s' % key: value,'filter-t': t}, True) + result = self.request('principal-list',{'filter-%s' % key: value,'filter-type': t}, True) principal = result.get_principal() if result.is_error(): if result.status_code() != 'no_data': @@ -153,7 +153,7 @@ class ACPClient(): return rp def find_builtin(self,t): - result = self.request('principal-list', {'filter-t': t}, True) + result = self.request('principal-list', {'filter-type': t}, True) return result.get_principal() def find_group(self,name): -- cgit v1.1