From 3877f3001fb5e9e425b495599e7618596136efe9 Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Thu, 1 Aug 2013 12:48:42 -0400 Subject: [PATCH] replace xml.dom.ext by xml.dom.minidom --- Tests/Integration/propfind.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Tests/Integration/propfind.py b/Tests/Integration/propfind.py index 9b4ad29f1..117cf0409 100755 --- a/Tests/Integration/propfind.py +++ b/Tests/Integration/propfind.py @@ -6,7 +6,7 @@ import webdavlib import sys import getopt -import xml.dom.ext +import xml.dom.minidom def parseArguments(): arguments = {} @@ -43,4 +43,7 @@ print propfind.response["body"] if propfind.response.has_key("document"): sys.stderr.write("document tree:\n") - xml.dom.ext.PrettyPrint(propfind.response["document"]) + elem = propfind.response["document"] + dom = xml.dom.minidom.parseString(xml.etree.ElementTree.tostring(elem)) + print dom.toprettyxml() +