Skip to content

Commit

Permalink
archive: simplify call to 'unpack_archive_multitgz' in 'ArchiveDirect…
Browse files Browse the repository at this point in the history
…ory.unpack' method.
  • Loading branch information
pjbriggs committed Feb 7, 2025
1 parent 42e041d commit b601ab7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ngsarchiver/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1289,11 +1289,7 @@ def unpack(self, extract_dir=None, verify=True, set_permissions=False,
# Unpack individual archive files
archive_list = [os.path.join(self._path,a)
for a in self._archive_metadata['subarchives']]
unpack_archive_multitgz(
archive_list,
extract_dir,
set_permissions=False,
set_times=False)
unpack_archive_multitgz(archive_list, extract_dir)
# Do checksum verification on unpacked archive
if verify:
print("-- verifying checksums of unpacked files")
Expand Down

0 comments on commit b601ab7

Please sign in to comment.