Open
Description
This is the case scenario:
- create a
zipsrteam.ZipFile
- add some files through the
ZipFile.write
function - delete some of the added files
- stream the content using
ZipFile.__iter__
So while streaming, you try to open a file but an exception (OSError
or IOError
) is raised. You want to skip that specific file and stream all other valid elements.
I did not find any way to achieve this behaviour. Maybe some option like skip_on_error
could help.
Metadata
Metadata
Assignees
Labels
No labels