From 96f1a8b2475e0ef66ff3e3ca78d2c753f9147288 Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Thu, 5 Jul 2012 16:56:27 +0000 Subject: [PATCH] * Tests/Integration/propfind.py: Print headers to stderr. the output can now easily be piped through xmllint Monotone-Parent: 228f7d730cde5a5046b0885c1ac02649ee2b7c05 Monotone-Revision: 4c9ff5822433c2ff8fcad8c7432a9575f9890b24 Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-07-05T16:56:27 --- Tests/Integration/propfind.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/Integration/propfind.py b/Tests/Integration/propfind.py index 385360be2..9b4ad29f1 100755 --- a/Tests/Integration/propfind.py +++ b/Tests/Integration/propfind.py @@ -38,8 +38,9 @@ client = webdavlib.WebDAVClient(hostname, port, username, password) propfind = webdavlib.WebDAVPROPFIND(resource, properties, depth) client.execute(propfind) -print "response:\n\n%s" % propfind.response["body"] +sys.stderr.write("response:\n\n") +print propfind.response["body"] if propfind.response.has_key("document"): - print "document tree:" + sys.stderr.write("document tree:\n") xml.dom.ext.PrettyPrint(propfind.response["document"])