summaryrefslogtreecommitdiff
path: root/fs/wrapfs/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'fs/wrapfs/__init__.py')
-rw-r--r--fs/wrapfs/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/wrapfs/__init__.py b/fs/wrapfs/__init__.py
index b8b9bea..d50cee8 100644
--- a/fs/wrapfs/__init__.py
+++ b/fs/wrapfs/__init__.py
@@ -167,8 +167,8 @@ class WrapFS(FS):
return super(WrapFS, self).setcontents(path, data, encoding=encoding, errors=errors, chunk_size=chunk_size)
@rewrite_errors
- def createfile(self, path):
- return self.wrapped_fs.createfile(self._encode(path))
+ def createfile(self, path, wipe=False):
+ return self.wrapped_fs.createfile(self._encode(path), wipe=wipe)
@rewrite_errors
def exists(self, path):