Show More
@@ -41,6 +41,13 b' We approximate that by reducing the read' | |||
|
41 | 41 | > def __getattr__(self, key): |
|
42 | 42 | > return getattr(self.real, key) |
|
43 | 43 | > |
|
44 | > def __enter__(self): | |
|
45 | > self.real.__enter__() | |
|
46 | > return self | |
|
47 | > | |
|
48 | > def __exit__(self, *args, **kwargs): | |
|
49 | > return self.real.__exit__(*args, **kwargs) | |
|
50 | > | |
|
44 | 51 | > def opener(*args): |
|
45 | 52 | > o = vfs.vfs(*args) |
|
46 | 53 | > def wrapper(*a, **kwargs): |
General Comments 0
You need to be logged in to leave comments.
Login now