On 20 Jan, 2007, at 15:33, Nir Soffer wrote:
I used to use tarfile on 10.3 to extract a bz2 compressed tarball. I
tried the code today on 10.4, and untaring fail silently after about
5% of tarball content, without any error.
This is the failing code:
tar = tarfile.open(os.path.join(SHARE, 'underlay.tar.bz2'),
mode='r:bz2')
for member in tar:
tar.extract(member, WIKI)
tar.close()
The tarball contains 794 pages, but this code will extract only 47
pages. Again, this used to work correctly about 1 year ago with
10.3.7.
The script looks fine. How did you create the archive? Ronald
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig
