Message75284
| Author |
gerhard_xXx |
| Recipients |
gerhard_xXx |
| Date |
2008年10月28日.15:12:10 |
| SpamBayes Score |
0.00020973016 |
| Marked as misclassified |
No |
| Message-id |
<1225206732.62.0.645534354703.issue4218@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
hi,
seems like tarfile module for python 2.4 is broken.
If I open the attached dir.tar.gz (tried it on different machines) then
tarfile module only displays a part of the contents.
what I did:
>>> import tarfile
>>> f = tarfile.open('dir.tar.gz','r:gz')
>>> f.getnames()
getnames() only returns the files/directories in the dir.tar.gz that
start with letter "a-j" and skips the rest???!!
cheers gerhard
More info (I have debian etch installation):
Python 2.4.4 (#2, Apr 16 2008, 17:58:59)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
$ tar --version
tar (GNU tar) 1.16
Copyright (C) 2006 Free Software Foundation, Inc. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年10月28日 15:12:13 | gerhard_xXx | set | recipients:
+ gerhard_xXx |
| 2008年10月28日 15:12:12 | gerhard_xXx | set | messageid: <1225206732.62.0.645534354703.issue4218@psf.upfronthosting.co.za> |
| 2008年10月28日 15:12:11 | gerhard_xXx | link | issue4218 messages |
| 2008年10月28日 15:12:10 | gerhard_xXx | create |
|