anatoly techtonik <techto...@gmail.com> added the comment: I attach an improved patch1886.use.tarfile.module.diff that fixes all bugs addressed in this issue.
It also removes second call to compression program leaving that privilege to tar. > I notice that the archive generated by tarfile module looks > different. Once I open it I see the following structure: > > dist (directory) -> archive_name.tar -> archive_name (directory) > -> other subfiles This bug is illustrated and patched (not released yet as somebody needs to reopen it) in issue 1885. The extra path component is taken from the name passed to GzipFile. ---------- nosy: +techtonik versions: +Python 2.7 Added file: http://bugs.python.org/file12456/patch1886.use.tarfile.module.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1886> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com