Zachary Ware <zachary.w...@gmail.com> added the comment:

Note that `TarFile.getmembers()` is documented to return `TarInfo` objects, 
which are documented as explicitly *not* including file data.  Try replacing 
`out.addfile(file)` with `out.addfile(file, tar.extractfile(file))`.

----------
nosy: +zach.ware

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40914>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to