[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems
Phillip J. Eby
report at bugs.python.org
Mon Jan 21 22:42:37 CET 2008
Phillip J. Eby added the comment:
On systems where the gzip or bz2 modules aren't installed, this patch
can raise a tarfile.CompressionError, which should be caught and handled
correctly. The import of tarfile should also be inside the relevant
function (as is done for make_zipfile) instead of at the top level.
Other than those two points, the patch looks great.
----------
nosy: +pje
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1886>
__________________________________
More information about the Python-bugs-list
mailing list