From 4b2f35152cd16af3a9cc076e3179607a3439e8b7 Mon Sep 17 00:00:00 2001 From: rfkelly0 Date: Mon, 15 Jun 2009 12:30:43 +0000 Subject: remove extraneous print statements git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@172 67cdc799-7952-0410-af00-57a81ceafa0f --- fs/expose/fuse/fuse_ctypes.py | 2 +- fs/rpcfs.py | 1 - fs/tests/__init__.py | 2 -- fs/tests/test_path.py | 2 -- 4 files changed, 1 insertion(+), 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) -- cgit v1.2.1