summaryrefslogtreecommitdiff
path: root/src/meetingtools/ac
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-04-05 13:21:05 +0200
committerLeif Johansson <leifj@sunet.se>2011-04-05 13:21:05 +0200
commit659762be85395f6aa58cd6627a41e49a2efa001b (patch)
treec1c4869c7c344ba87a7ebd29eb983cac5fb4c18d /src/meetingtools/ac
parentf535507ff9ca55f652a5f9f4f51b08ddea336c28 (diff)
debug
Diffstat (limited to 'src/meetingtools/ac')
-rw-r--r--src/meetingtools/ac/api.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py
index 7603af2..bebfa00 100644
--- a/src/meetingtools/ac/api.py
+++ b/src/meetingtools/ac/api.py
@@ -12,6 +12,8 @@ import os
import tempfile
from lxml import etree
import pprint
+from meetingtools.site_logging import logger
+import lxml
class ACPException(Exception):
def __init__(self, value):
@@ -36,6 +38,7 @@ class ACPResult():
raise ACPException,self.status
def get_principal(self):
+ logger.debug(lxml.etree.tostring(self.et))
return self.et.xpath('principal')[0]
def _enc(v):