summaryrefslogtreecommitdiff
path: root/fs/wrapfs/__init__.py
diff options
context:
space:
mode:
authorwillmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f>2013-09-09 21:47:01 +0000
committerwillmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f>2013-09-09 21:47:01 +0000
commitfbe1238c34ef238a0a50166d6b2ec19a7ee94435 (patch)
tree66ab10bfef79e58d6b5a17a74e9291d3fbb23127 /fs/wrapfs/__init__.py
parentb51d5d2b3641204335d4247fe4f1321c52aafecc (diff)
downloadpyfilesystem-fbe1238c34ef238a0a50166d6b2ec19a7ee94435.tar.gz
Changed signature for 'createfile' everywhere, fixes #133
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@875 67cdc799-7952-0410-af00-57a81ceafa0f
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):