summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-04-05 13:08:20 +0200
committerLeif Johansson <leifj@sunet.se>2011-04-05 13:08:20 +0200
commitc08f805800cf577b2aee51a84d635cc9f579ddb5 (patch)
tree6299257f34da108d3cc422617ef0cacb4cd6a0a5 /src
parent97b507a12ed8aa8440ce91883673357d4e8f724b (diff)
debug
Diffstat (limited to 'src')
-rw-r--r--src/meetingtools/ac/api.py2
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()