Commit 8d92f836 by rfkelly0

DAVFS: rearrange logging call stubs

parent 9b71922a
......@@ -15,7 +15,7 @@ implementations of this interface such as:
"""
__version__ = "0.4.0a6"
__version__ = "0.4.0a7"
__author__ = "Will McGugan (will@willmcgugan.com)"
# 'base' imports * from 'path' and 'errors', so their
......
......@@ -252,12 +252,13 @@ class DAVFS(FS):
if self.closed:
raise RemoteConnectionError("",msg="FS is closed")
resp = con.getresponse()
#logger.debug("DAVFS <RESP %s %s %s/%s",resp.status,method,url.hostname,url.path)
self._cookiejar.extract_cookies(FakeResp(resp),FakeReq(con,url.scheme,url.path))
except Exception, e:
#logger.debug("DAVFS <ERR %s %s/%s",resp.status,method,url.hostname,url.path)
self._del_connection(con)
raise
else:
#logger.debug("DAVFS <RESP %s %s %s/%s",resp.status,method,url.hostname,url.path)
old_close = resp.close
def new_close():
old_close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment