summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2009-06-15 12:30:43 +0000
committerrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2009-06-15 12:30:43 +0000
commit4b2f35152cd16af3a9cc076e3179607a3439e8b7 (patch)
treea1a026c05f4bf495f10f5497a69b090556795cf1
parentaa592ac75e0bc6c934f766457d7a66fc8c0b1b2f (diff)
downloadpyfilesystem-rfk-ideas.tar.gz
remove extraneous print statementsrfk-ideas
git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@172 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r--fs/expose/fuse/fuse_ctypes.py2
-rw-r--r--fs/rpcfs.py1
-rw-r--r--fs/tests/__init__.py2
-rw-r--r--fs/tests/test_path.py2
4 files changed, 1 insertions, 6 deletions
diff --git a/fs/expose/fuse/fuse_ctypes.py b/fs/expose/fuse/fuse_ctypes.py
index a9e09cd..691a4c1 100644
--- a/fs/expose/fuse/fuse_ctypes.py
+++ b/fs/expose/fuse/fuse_ctypes.py
@@ -227,7 +227,7 @@ def _operation_wrapper(func, *args, **kwargs):
except OSError, e:
return -(e.errno or EFAULT)
except:
- print_exc()
+ #print_exc()
return -EFAULT
_libfuse = CDLL(find_library("fuse"))
diff --git a/fs/rpcfs.py b/fs/rpcfs.py
index f5b4970..0146188 100644
--- a/fs/rpcfs.py
+++ b/fs/rpcfs.py
@@ -53,7 +53,6 @@ def re_raise_faults(func):
def _object_by_name(name,root=None):
"""Look up an object by dotted-name notation."""
- print name, root
bits = name.split(".")
if root is None:
try:
diff --git a/fs/tests/__init__.py b/fs/tests/__init__.py
index bcdc6dd..61cd2c2 100644
--- a/fs/tests/__init__.py
+++ b/fs/tests/__init__.py
@@ -262,11 +262,9 @@ class FSTestCases:
self.assert_(not check("a"))
self.fs.makedir("a")
- print self.fs.listdir("a")
self.assertRaises(DestinationExistsError,self.fs.movedir,"copy of a","a")
self.fs.movedir("copy of a","a",overwrite=True)
self.assert_(not check("copy of a"))
- print self.fs.listdir("a")
self.assert_(check("a/1.txt"))
self.assert_(check("a/2.txt"))
self.assert_(check("a/3.txt"))
diff --git a/fs/tests/test_path.py b/fs/tests/test_path.py
index 35c9185..8152eaa 100644
--- a/fs/tests/test_path.py
+++ b/fs/tests/test_path.py
@@ -57,7 +57,6 @@ class TestPathFunctions(unittest.TestCase):
("/", "") ]
for path, result in tests:
- print path, result
self.assertEqual(fs.relpath(path), result)
def test_abspath(self):
@@ -75,7 +74,6 @@ class TestPathFunctions(unittest.TestCase):
("a/b/c/../d", ["a", "b", "d"]) ]
for path, results in tests:
- print repr(path), results
for path_component, expected in zip(iteratepath(path), results):
self.assertEqual(path_component, expected)