projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2fbb9c
)
Really make bztar support in shutil conditional.
author
Éric Araujo
<merwok@netwok.org>
Sun, 5 Feb 2012 12:40:08 +0000
(13:40 +0100)
committer
Éric Araujo
<merwok@netwok.org>
Sun, 5 Feb 2012 12:40:08 +0000
(13:40 +0100)
This dict entry is added a few lines after if the bzip2 module is
available, but removing this line was forgotten.
Lib/shutil.py
patch
|
blob
|
history
diff --git
a/Lib/shutil.py
b/Lib/shutil.py
index 00bffe5f20f4ae6e7283b289695d031eee142508..d1b1af3246af27de78aaf30a78f6ba78b42eb940 100644
(file)
--- 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")
}