equal
deleted
inserted
replaced
1026 |
1026 |
1027 def adddatafilter(self, name, filter): |
1027 def adddatafilter(self, name, filter): |
1028 self._datafilters[name] = filter |
1028 self._datafilters[name] = filter |
1029 |
1029 |
1030 def wread(self, filename): |
1030 def wread(self, filename): |
1031 if self._link(filename): |
1031 if self.wvfs.islink(filename): |
1032 data = self.wvfs.readlink(filename) |
1032 data = self.wvfs.readlink(filename) |
1033 else: |
1033 else: |
1034 data = self.wvfs.read(filename) |
1034 data = self.wvfs.read(filename) |
1035 return self._filter(self._encodefilterpats, filename, data) |
1035 return self._filter(self._encodefilterpats, filename, data) |
1036 |
1036 |