Commit 43958384 by rfkelly0

dont wrap setcontents() since it needs the translations applied by open()

parent 396d635e
...@@ -127,10 +127,6 @@ class WrapFS(FS): ...@@ -127,10 +127,6 @@ class WrapFS(FS):
return self._file_wrap(f,mode) return self._file_wrap(f,mode)
@rewrite_errors @rewrite_errors
def setcontents(self,path,contents):
self.wrapped_fs.setcontents(self._encode(path),contents)
@rewrite_errors
def exists(self,path): def exists(self,path):
return self.wrapped_fs.exists(self._encode(path)) return self.wrapped_fs.exists(self._encode(path))
......
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