mirror of
https://github.com/python/cpython.git
synced 2025-07-22 18:55:22 +00:00
Fixed 'make_archive()' to explicitly turn of compression when format is "tar".
This commit is contained in:
parent
02296cea39
commit
1889de8889
1 changed files with 1 additions and 0 deletions
|
@ -746,6 +746,7 @@ def make_archive (base_name, format,
|
||||||
kwargs['compress'] = 'compress'
|
kwargs['compress'] = 'compress'
|
||||||
elif format == 'tar':
|
elif format == 'tar':
|
||||||
func = make_tarball
|
func = make_tarball
|
||||||
|
kwargs['compress'] = None
|
||||||
elif format == 'zip':
|
elif format == 'zip':
|
||||||
func = make_zipfile
|
func = make_zipfile
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue