From c08f805800cf577b2aee51a84d635cc9f579ddb5 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 5 Apr 2011 13:08:20 +0200 Subject: debug --- src/meetingtools/ac/api.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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() -- cgit v1.1