summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-02-05 12:40:08 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-02-05 12:40:08 (GMT)
commit89dfd5cf80965fcf1d3fe4db8268f8acc67b5f64 (patch)
treea3653d58a90c0b1cb64d808c95e9811cc7cf759a /Lib/shutil.py
parentf2fbb9cf4274e9d74da45d2f2d0503a57af1cad8 (diff)
downloadcpython-89dfd5cf80965fcf1d3fe4db8268f8acc67b5f64.zip
cpython-89dfd5cf80965fcf1d3fe4db8268f8acc67b5f64.tar.gz
cpython-89dfd5cf80965fcf1d3fe4db8268f8acc67b5f64.tar.bz2
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.
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r--Lib/shutil.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index 00bffe5..d1b1af3 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -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")
}