diff options
Diffstat (limited to 'meetingtools')
-rw-r--r-- | meetingtools/ac/api.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meetingtools/ac/api.py b/meetingtools/ac/api.py index 7a9798f..110c79d 100644 --- a/meetingtools/ac/api.py +++ b/meetingtools/ac/api.py @@ -75,6 +75,9 @@ class ACPResult(): logger.debug(lxml.etree.tostring(self.et)) return _first_or_none(self.et.xpath('//principal')) + def pretty_print(self): + return lxml.etree.tostring(self.et, pretty_print=True) + def _enc(v): ev = v |