From 5985262e0f31a55b8e3e4f369d85930bcb9c6185 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 10 Jan 2017 10:18:28 -0500 Subject: [PATCH] Improve WebDAV Python lib for integration tests --- Tests/Integration/webdavlib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Integration/webdavlib.py b/Tests/Integration/webdavlib.py index 2fcf887ca..1fb4a6820 100644 --- a/Tests/Integration/webdavlib.py +++ b/Tests/Integration/webdavlib.py @@ -107,10 +107,10 @@ class WebDAVClient: self.conn.request(query.method, query.url, body, self.prepare_headers(query, body)) try: - query.set_response(self.conn.getresponse()); + query.set_response(self.conn.getresponse()) except httplib.BadStatusLine, e: print e - query.set_response(self.conn.getresponse()); + query.set_response(self.conn.getresponse()) query.duration = time.time() - query.start class HTTPSimpleQuery: