diff options
author | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-10-05 08:41:58 +0000 |
---|---|---|
committer | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-10-05 08:41:58 +0000 |
commit | b182e75ef7c71cfba5f930c282a63105c484298f (patch) | |
tree | de87108b24237e5b753d00cf63ca3cbb8733d0a2 /fs/multifs.py | |
parent | 1c34397470f96c93c6c51f4762ce8b678325150f (diff) | |
download | pyfilesystem-git-b182e75ef7c71cfba5f930c282a63105c484298f.tar.gz |
MultiFS: support "force" argument in removedir
Diffstat (limited to 'fs/multifs.py')
-rw-r--r-- | fs/multifs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/multifs.py b/fs/multifs.py index cc92f4a..bf76942 100644 --- a/fs/multifs.py +++ b/fs/multifs.py @@ -205,10 +205,10 @@ class MultiFS(FS): raise ResourceNotFoundError(path) @synchronize - def removedir(self, path, recursive=False): + def removedir(self, path, recursive=False, force=False): for fs in self: if fs.isdir(path): - fs.removedir(path, recursive) + fs.removedir(path, recursive=recursive, force=force) return raise ResourceNotFoundError(path) |