diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-12-12 00:23:08 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-12-12 00:23:08 +0000 |
commit | 019606859f92428fb3936b4ff73331044c281655 (patch) | |
tree | 61b2acdea8192e330d19cbc7cbd804e4a36480a3 /fs/wrapfs/__init__.py | |
parent | ae7768bf6756a21bdfc4748018efeb024adc938d (diff) | |
download | pyfilesystem-019606859f92428fb3936b4ff73331044c281655.tar.gz |
Command fixes
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@548 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/wrapfs/__init__.py')
-rw-r--r-- | fs/wrapfs/__init__.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/wrapfs/__init__.py b/fs/wrapfs/__init__.py index 8172eec..760a601 100644 --- a/fs/wrapfs/__init__.py +++ b/fs/wrapfs/__init__.py @@ -164,7 +164,12 @@ class WrapFS(FS): return self.wrapped_fs.isfile(self._encode(path)) @rewrite_errors - def listdir(self, path="", **kwds): + def listdir(self, path="", wildcard=None, full=False, absolute=False, dirs_only=False, files_only=False): + kwds = dict(wildcard=wildcard, + full=full, + absolute=absolute, + dirs_only=dirs_only, + files_only=files_only) full = kwds.pop("full",False) absolute = kwds.pop("absolute",False) wildcard = kwds.pop("wildcard",None) |