Improve WebDAV Python lib for integration tests

pull/232/head
Francis Lachapelle 2017-01-10 10:18:28 -05:00
parent c36fcd2902
commit 5985262e0f
1 changed files with 2 additions and 2 deletions

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: