diff options
author | btimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f> | 2012-10-18 03:03:25 +0000 |
---|---|---|
committer | btimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f> | 2012-10-18 03:03:25 +0000 |
commit | b4e858df0e66579d1bf298e53dc13b00fa3bf90e (patch) | |
tree | 54e91c773eabe2ba3904a50aafed4f81ae450689 /fs/contrib | |
parent | d913814dd969892f2e3025f160fe4e488b3a98b5 (diff) | |
download | pyfilesystem-b4e858df0e66579d1bf298e53dc13b00fa3bf90e.tar.gz |
Be less heavy-handed, setting the reference to None will do.
Ensure that pyfs file systems are closed when use with ftp and sftp daemons.
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@824 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/contrib')
-rw-r--r-- | fs/contrib/archivefs.py | 2 |
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): |