Skip to content

raise PR later: fs.zipfs won't close properly  #310

Closed
@chfw

Description

@chfw
import fs
fs.open_fs('zip://I_do_not_exist_.zip')

Exception ignored in: <function FS.del at 0x10491cd08>
Traceback (most recent call last):
File "/Users/jaska/github/moremoban/moban-env/lib/python3.7/site-packages/fs/base.py", line 117, in del
self.close()
File "/Users/jaska/github/moremoban/moban-env/lib/python3.7/site-packages/fs/zipfs.py", line 437, in close
self._zip.close()
AttributeError: 'xxx' object has no attribute '_zip'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions