Closed aaltat closed 9 years ago
Pull requests welcome. :+1:
Could do that. There is question though: By looking the code and looking the python ZipFile documentation, is there are reason why the ZipFile.extractall() function is not used to extract the archive?
There probably was a reason but its been so long that I dont remember
If the acceptance tests pass, would you accept a pull request that would change to code to use the ZipFile.extractall()? Or would you more willing to see fix based on the existing implementation?
I sure will accept a PR if the tests pass.
When trying to looking the issue with fresh eyes, I can not reproduce the issue. Closing.
Ugh
If I have zip file which has subfolders and files in it. In some cases the ArchiveLibrary is not able to extract the zip file correctly. This seems be related that if I do this:
It will only print the files. Example:
The archive library seems to expect that also paths are also included in the zf.namelist(). Example:
But one create zip file with -no-dir-entries [1] flag in Linux and then the print zf.namelist() will only list the paths to files and zip file does not contain directory entries. Then the ArchiveLibrary fill fail on this stack trace:
[1]http://linux.die.net/man/1/zip