summaryrefslogtreecommitdiff
path: root/fs/contrib/archivefs.py
diff options
context:
space:
mode:
Diffstat (limited to 'fs/contrib/archivefs.py')
-rw-r--r--fs/contrib/archivefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/contrib/archivefs.py b/fs/contrib/archivefs.py
index 780f1bb..cb3b4af 100644
--- a/fs/contrib/archivefs.py
+++ b/fs/contrib/archivefs.py
@@ -187,7 +187,7 @@ class ArchiveMountFS(mountfs.MountFS):
def close(self):
# Close and delete references to any other fs instances.
self.rootfs.close()
- del self.rootfs
+ self.rootfs = None
super(ArchiveMountFS, self).close()
def ismount(self, path):