Re: problems with tarfile.open and tar.bz2

2005-08-28 Thread Lars Gustäbel
On Fri, 26 Aug 2005 09:05:29 -0700, justin.vanwinkle wrote: > Hello everyone, > > I need some tar functionality for my program. Currently the following > code properly displays tar archives, and tar.gz archives. However, it > chokes on tar.bz2 archives with the following error: > > File "mai

Re: problems with tarfile.open and tar.bz2

2005-08-26 Thread justin . vanwinkle
r is supposed to autodetect the archive type. However, even changing it to 'r:bz2' produces an identical error. -- http://mail.python.org/mailman/listinfo/python-list

Re: problems with tarfile.open and tar.bz2

2005-08-26 Thread Richard Lewis
On 26 Aug 2005 09:05:29 -0700, [EMAIL PROTECTED] said: > Hello everyone, > > I need some tar functionality for my program. Currently the following > code properly displays tar archives, and tar.gz archives. However, it > chokes on tar.bz2 archives with the following error: > > File "mail_fil

problems with tarfile.open and tar.bz2

2005-08-26 Thread justin . vanwinkle
Hello everyone, I need some tar functionality for my program. Currently the following code properly displays tar archives, and tar.gz archives. However, it chokes on tar.bz2 archives with the following error: File "mail_filter.py", line 262, in extract_archive tar_archive = tarfile.open('