diff options
author | Leif Johansson <leifj@sunet.se> | 2012-02-02 15:16:17 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-02-02 15:16:17 +0100 |
commit | b9854b860fc37127b42970b340e92d84d86abaae (patch) | |
tree | 96884a1bc1ce9546be1e4eec1cf82bfa1e5197bf | |
parent | ef6ff581acf04d14e2f70c8800e221a38659eba9 (diff) |
refactoring in eclipse sucks sometimes
-rw-r--r-- | src/meetingtools/ac/api.py | 4 |
1 files 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): |