Skip to content

remove_finished is not used if archive_type is not None in extract_archive #5048

@fmassa

Description

@fmassa

🐛 Describe the bug

The title is self-explanatory.

If the code gets in

# We don't need to check for a missing key here, since this was already done in _detect_file_type()
extractor = _ARCHIVE_EXTRACTORS[archive_type]
extractor(from_path, to_path, compression)
, remove_finished doesn't seem to be used.

Versions

torchvision main branch

cc @pmeier

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions