diff options
-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() |