-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
Directories might be empty and required by whatever is contained in the archive, as such skipping them from being included in the list of files shouldn't be a default behavior.
More over, the __init__ of Archive7z is so large that extending the class to circumvent that behavior is practically not possible.
Relevant code:
Lines 983 to 986 in ccb0e7c
| # Skip all directory entries. | |
| attributes = info.get('attributes', None) | |
| if attributes and attributes & FILE_ATTRIBUTE_DIRECTORY != 0: | |
| continue |
Metadata
Metadata
Assignees
Labels
No labels