diff options
author | Leif Johansson <leifj@sunet.se> | 2012-10-08 13:51:09 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-10-08 13:51:09 +0200 |
commit | 75a8540989bae973093f0589b32274264f9cad2e (patch) | |
tree | 103c683f0acd1b289aa487e81dbb65e65dc728dc /meetingtools/ac | |
parent | e5e29806cf16d3dff7cb74f9e1acd4159570d4c9 (diff) |
fix but: need to return the root of the ElementTree
Diffstat (limited to 'meetingtools/ac')
-rw-r--r-- | meetingtools/ac/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meetingtools/ac/api.py b/meetingtools/ac/api.py index 5fbcfbf..230bae8 100644 --- a/meetingtools/ac/api.py +++ b/meetingtools/ac/api.py @@ -149,7 +149,7 @@ class ACPClient(): p = self._find_or_create_principal(key,value,t,d) cache[key] = etree.tostring(p) else: - p = etree.parse(StringIO(cache[key])) + p = etree.parse(StringIO(cache[key])).getroot() return p def find_principal(self,key,value,t): |