Commit 9f277220 by btimby

Don\'t double-close.

parent 56227fb8
...@@ -186,6 +186,7 @@ class ArchiveMountFS(mountfs.MountFS): ...@@ -186,6 +186,7 @@ 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.
if self.rootsfs is not None:
self.rootfs.close() self.rootfs.close()
self.rootfs = None self.rootfs = None
super(ArchiveMountFS, self).close() super(ArchiveMountFS, self).close()
......
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