diff options
author | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2009-11-16 03:44:26 +0000 |
---|---|---|
committer | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2009-11-16 03:44:26 +0000 |
commit | 7279ce089a16704b1fce088356e2aa849ebc0fd6 (patch) | |
tree | da118fc4de94a62b5d4d3fd6480a674ae05ddc32 /fs/remote.py | |
parent | f71e0ff9ce2a6fec84d74447a068dbd1e8713557 (diff) | |
download | pyfilesystem-7279ce089a16704b1fce088356e2aa849ebc0fd6.tar.gz |
some performance tweaks for ConnectionManagerFS
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@265 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/remote.py')
-rw-r--r-- | fs/remote.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/remote.py b/fs/remote.py index 16c9689..c21f8b3 100644 --- a/fs/remote.py +++ b/fs/remote.py @@ -231,6 +231,9 @@ class ConnectionManagerFS(WrapFS): finally: self._connection_cond.release() + def setcontents(self,path,data): + self.wrapped_fs.setcontents(path,data) + def __getstate__(self): state = super(ConnectionManagerFS,self).__getstate__() del state["_connection_cond"] |