diff options
author | Leif Johansson <leifj@sunet.se> | 2011-04-05 13:08:20 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-04-05 13:08:20 +0200 |
commit | c08f805800cf577b2aee51a84d635cc9f579ddb5 (patch) | |
tree | 6299257f34da108d3cc422617ef0cacb4cd6a0a5 /src/meetingtools/ac | |
parent | 97b507a12ed8aa8440ce91883673357d4e8f724b (diff) |
debug
Diffstat (limited to 'src/meetingtools/ac')
-rw-r--r-- | src/meetingtools/ac/api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index bb6847d..65ef237 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -11,6 +11,7 @@ from pprint import pformat import os import tempfile from lxml import etree +import pprint class ACPException(Exception): def __init__(self, value): @@ -93,6 +94,7 @@ class ACPClient(): def find_or_create_principal(self,key,value,type,dict): result = self.request('principal-list',{'filter-%s' % key: value,'filter-type': type}, True) principal = result.get_principal() + logging.debug(pprint(principal)) if result.is_error(): if result.status_code() != 'no_data': result.exception() |