[Python-checkins] cpython (3.2): Really make bztar support in shutil conditional.

eric.araujo python-checkins at python.org
Sun Feb 5 13:50:15 CET 2012


http://hg.python.org/cpython/rev/054ba2a49d64
changeset:   74791:054ba2a49d64
branch:      3.2
user:        Éric Araujo <merwok at netwok.org>
date:        Sun Feb 05 13:40:08 2012 +0100
summary:
  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.

files:
  Lib/shutil.py |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Lib/shutil.py b/Lib/shutil.py
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -493,7 +493,6 @@
 
 _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")
     }

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list