diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-02-11 10:57:10 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-02-11 10:57:10 +0000 |
commit | d7133bb2f25561590c18a48d8229114f952ee273 (patch) | |
tree | 0bddbf0866aacbcd9ba1801b08f0ec11817468b3 /fs/wrapfs | |
parent | 56af1c2a815cf30fe735b81fa1ada28cf201748f (diff) | |
download | pyfilesystem-git-d7133bb2f25561590c18a48d8229114f952ee273.tar.gz |
Fixed meta issue with readonly fs
Diffstat (limited to 'fs/wrapfs')
-rw-r--r-- | fs/wrapfs/readonlyfs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/wrapfs/readonlyfs.py b/fs/wrapfs/readonlyfs.py index 129bd65..6a9a1e1 100644 --- a/fs/wrapfs/readonlyfs.py +++ b/fs/wrapfs/readonlyfs.py @@ -24,12 +24,12 @@ class ReadOnlyFS(WrapFS): def getmeta(self, meta_name, default=NoDefaultMeta): if meta_name == 'read_only': return True - return self.wrapped_fs(meta_name, default) + return self.wrapped_fs.getmeta(meta_name, default) def hasmeta(self, meta_name): if meta_name == 'read_only': return True - return self.wrapped_fs(meta_name) + return self.wrapped_fs.hasmeta(meta_name) def getsyspath(self, path, allow_none=False): """ Doesn't technically modify the filesystem but could be used to work |