summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-03-31 05:20:27 (GMT)
committerGreg Ward <gward@python.net>2000-03-31 05:20:27 (GMT)
commit1889de8889422a05f96501d9cc18d453866b175c (patch)
tree1d056fcc07a572ebc3520881da6da749e09ae5ed /Lib
parent02296cea3999a33baf292b5fa54698d3b34320e0 (diff)
downloadcpython-1889de8889422a05f96501d9cc18d453866b175c.zip
cpython-1889de8889422a05f96501d9cc18d453866b175c.tar.gz
cpython-1889de8889422a05f96501d9cc18d453866b175c.tar.bz2
Fixed 'make_archive()' to explicitly turn of compression when format is "tar".
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index 63b6bec..22fc437 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -746,6 +746,7 @@ def make_archive (base_name, format,
kwargs['compress'] = 'compress'
elif format == 'tar':
func = make_tarball
+ kwargs['compress'] = None
elif format == 'zip':
func = make_zipfile