Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 89dfd5c

Browse files
committed
Really make bztar support in shutil conditional.
This dict entry is added a few lines after if the bzip2 module is available, but removing this line was forgotten.
1 parent f2fbb9c commit 89dfd5c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Lib/shutil.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None):
493493

494494
_ARCHIVE_FORMATS = {
495495
'gztar': (_make_tarball, [('compress', 'gzip')], "gzip'ed tar-file"),
496-
'bztar': (_make_tarball, [('compress', 'bzip2')], "bzip2'ed tar-file"),
497496
'tar': (_make_tarball, [('compress', None)], "uncompressed tar file"),
498497
'zip': (_make_zipfile, [],"ZIP file")
499498
}

0 commit comments

Comments
 (0)