Commit 9f277220 by btimby

Don\'t double-close.

parent 56227fb8
...@@ -186,8 +186,9 @@ class ArchiveMountFS(mountfs.MountFS): ...@@ -186,8 +186,9 @@ class ArchiveMountFS(mountfs.MountFS):
@synchronize @synchronize
def close(self): def close(self):
# Close and delete references to any other fs instances. # Close and delete references to any other fs instances.
self.rootfs.close() if self.rootsfs is not None:
self.rootfs = None self.rootfs.close()
self.rootfs = None
super(ArchiveMountFS, self).close() super(ArchiveMountFS, self).close()
def ismount(self, path): def ismount(self, path):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment