Improve WebDAV Python lib for integration tests

This commit is contained in:
Francis Lachapelle
2017-01-11 14:20:42 -05:00
parent c36fcd2902
commit 5985262e0f
+2 -2
View File
@@ -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: