[issue2251] tarfile using nonexistent function

Lars Gustäbel report at bugs.python.org
Fri Mar 7 13:10:23 CET 2008


Lars Gustäbel added the comment:

This is in fact misuse of the addfile() method on your side. The docs
(http://docs.python.org/dev/library/tarfile.html#tarfile.TarFile.addfile)
state that the first argument is supposed to be a TarInfo object not a
pathname. You should use the add() method instead.

----------
assignee:  -> lars.gustaebel
nosy: +lars.gustaebel
resolution:  -> invalid
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2251>
__________________________________


More information about the Python-bugs-list mailing list