Show More
@@ -290,21 +290,13 b' class vfs(abstractvfs):' | |||
|
290 | 290 | if realpath: |
|
291 | 291 | base = os.path.realpath(base) |
|
292 | 292 | self.base = base |
|
293 |
self. |
|
|
294 | self.createmode = None | |
|
295 | self._trustnlink = None | |
|
296 | ||
|
297 | @property | |
|
298 | def mustaudit(self): | |
|
299 | return self._audit | |
|
300 | ||
|
301 | @mustaudit.setter | |
|
302 | def mustaudit(self, onoff): | |
|
303 | self._audit = onoff | |
|
304 | if onoff: | |
|
293 | self._audit = audit | |
|
294 | if audit: | |
|
305 | 295 | self.audit = pathutil.pathauditor(self.base) |
|
306 | 296 | else: |
|
307 | 297 | self.audit = util.always |
|
298 | self.createmode = None | |
|
299 | self._trustnlink = None | |
|
308 | 300 | |
|
309 | 301 | @util.propertycache |
|
310 | 302 | def _cansymlink(self): |
@@ -436,14 +428,6 b' class auditvfs(object):' | |||
|
436 | 428 | self.vfs = vfs |
|
437 | 429 | |
|
438 | 430 | @property |
|
439 | def mustaudit(self): | |
|
440 | return self.vfs.mustaudit | |
|
441 | ||
|
442 | @mustaudit.setter | |
|
443 | def mustaudit(self, onoff): | |
|
444 | self.vfs.mustaudit = onoff | |
|
445 | ||
|
446 | @property | |
|
447 | 431 | def options(self): |
|
448 | 432 | return self.vfs.options |
|
449 | 433 |
General Comments 0
You need to be logged in to leave comments.
Login now