summaryrefslogtreecommitdiff
path: root/fs/contrib
diff options
context:
space:
mode:
authorrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2011-03-10 00:01:33 +0000
committerrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2011-03-10 00:01:33 +0000
commit40a7464e01236e0f2d7674862c9dde864913a060 (patch)
treeb56b2d9b53abc4b9f4ba3736bce3b0a93baa1891 /fs/contrib
parent31013843ed0b647a3b3a3118e384eb790ea52d04 (diff)
downloadpyfilesystem-git-40a7464e01236e0f2d7674862c9dde864913a060.tar.gz
remove some debugging stuff
Diffstat (limited to 'fs/contrib')
-rw-r--r--fs/contrib/davfs/__init__.py5
-rw-r--r--fs/contrib/tahoelafs/test_tahoelafs.py1
2 files changed, 0 insertions, 6 deletions
diff --git a/fs/contrib/davfs/__init__.py b/fs/contrib/davfs/__init__.py
index f9239b7..04d2310 100644
--- a/fs/contrib/davfs/__init__.py
+++ b/fs/contrib/davfs/__init__.py
@@ -41,8 +41,6 @@ from fs.contrib.davfs.util import *
from fs.contrib.davfs import xmlobj
from fs.contrib.davfs.xmlobj import *
-logger = fs.getLogger("fs.contrib.davfs")
-
import errno
_RETRYABLE_ERRORS = [errno.EADDRINUSE]
try:
@@ -236,7 +234,6 @@ class DAVFS(FS):
except KeyError:
msg = "unsupported protocol: '%s'" % (url.scheme,)
raise RemoteConnectionError(msg=msg)
- logger.debug("DAVFS >REQ %s %s/%s",method,url.hostname,url.path)
con = ConClass(url.hostname,url.port,timeout=self.timeout)
self._add_connection(con)
try:
@@ -257,11 +254,9 @@ class DAVFS(FS):
resp = con.getresponse()
self._cookiejar.extract_cookies(FakeResp(resp),FakeReq(con,url.scheme,url.path))
except Exception, e:
- logger.exception("DAVFS <ERR %s %s/%s",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()
diff --git a/fs/contrib/tahoelafs/test_tahoelafs.py b/fs/contrib/tahoelafs/test_tahoelafs.py
index e4521c3..61a28e5 100644
--- a/fs/contrib/tahoelafs/test_tahoelafs.py
+++ b/fs/contrib/tahoelafs/test_tahoelafs.py
@@ -28,7 +28,6 @@ class TestTahoeLAFS(unittest.TestCase,FSTestCases):#,ThreadingTestCases):
def setUp(self):
self.dircap = TahoeLAFS.createdircap(WEBAPI)
- print TahoeLAFS.__mro__
self.fs = TahoeLAFS(self.dircap, cache_timeout=0, webapi=WEBAPI)
def tearDown(self):