diff options
author | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2009-02-10 03:41:54 +0000 |
---|---|---|
committer | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2009-02-10 03:41:54 +0000 |
commit | f5c9890487a3959c3f1d4d43be9264ba2d3a7541 (patch) | |
tree | f4c32fa4bac0f2c102c56383c8d5639d910fcbc2 /fs/zipfs.py | |
parent | 0b1ccbd1ea65431736ffa570b9b0956c0e91d673 (diff) | |
download | pyfilesystem-git-f5c9890487a3959c3f1d4d43be9264ba2d3a7541.tar.gz |
Make listdirs(hidden=True) the default uniformly.
This was the case for all but OSFS and ZipFS, and it meant that copydir()
would not copy hidden files. If this default isn't desired, walk() needs
to grow a hidden=True argument and copydir() needs to use it.
Diffstat (limited to 'fs/zipfs.py')
-rw-r--r-- | fs/zipfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/zipfs.py b/fs/zipfs.py index b3f4d8d..90f84d4 100644 --- a/fs/zipfs.py +++ b/fs/zipfs.py @@ -201,7 +201,7 @@ class ZipFS(FS): finally: self._lock.release() - def listdir(self, path="/", wildcard=None, full=False, absolute=False, hidden=False, dirs_only=False, files_only=False): + def listdir(self, path="/", wildcard=None, full=False, absolute=False, hidden=True, dirs_only=False, files_only=False): return self._path_fs.listdir(path, wildcard, full, absolute, hidden, dirs_only, files_only) |