Show More
@@ -523,7 +523,7 b' class fncache(object):' | |||
|
523 | 523 | self._load() |
|
524 | 524 | return iter(self.entries | self.addls) |
|
525 | 525 | |
|
526 |
class _fncachevfs(vfsmod. |
|
|
526 | class _fncachevfs(vfsmod.proxyvfs): | |
|
527 | 527 | def __init__(self, vfs, fnc, encode): |
|
528 | 528 | vfsmod.proxyvfs.__init__(self, vfs) |
|
529 | 529 | self.fncache = fnc |
@@ -469,7 +469,7 b' class vfs(abstractvfs):' | |||
|
469 | 469 | |
|
470 | 470 | opener = vfs |
|
471 | 471 | |
|
472 |
class proxyvfs( |
|
|
472 | class proxyvfs(abstractvfs): | |
|
473 | 473 | def __init__(self, vfs): |
|
474 | 474 | self.vfs = vfs |
|
475 | 475 | |
@@ -481,7 +481,7 b' class proxyvfs(object):' | |||
|
481 | 481 | def options(self, value): |
|
482 | 482 | self.vfs.options = value |
|
483 | 483 | |
|
484 |
class filtervfs( |
|
|
484 | class filtervfs(proxyvfs, abstractvfs): | |
|
485 | 485 | '''Wrapper vfs for filtering filenames with a function.''' |
|
486 | 486 | |
|
487 | 487 | def __init__(self, vfs, filter): |
@@ -499,7 +499,7 b' class filtervfs(abstractvfs, proxyvfs):' | |||
|
499 | 499 | |
|
500 | 500 | filteropener = filtervfs |
|
501 | 501 | |
|
502 |
class readonlyvfs( |
|
|
502 | class readonlyvfs(proxyvfs): | |
|
503 | 503 | '''Wrapper vfs preventing any writing.''' |
|
504 | 504 | |
|
505 | 505 | def __init__(self, vfs): |
General Comments 0
You need to be logged in to leave comments.
Login now