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.
This commit is contained in:
parent
f2fbb9cf42
commit
89dfd5cf80
|
@ -493,7 +493,6 @@ def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None):
|
|||
|
||||
_ARCHIVE_FORMATS = {
|
||||
'gztar': (_make_tarball, [('compress', 'gzip')], "gzip'ed tar-file"),
|
||||
'bztar': (_make_tarball, [('compress', 'bzip2')], "bzip2'ed tar-file"),
|
||||
'tar': (_make_tarball, [('compress', None)], "uncompressed tar file"),
|
||||
'zip': (_make_zipfile, [],"ZIP file")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue