createrepo/rpm-metadata repository format creator ver 0.3.4
Shahms King
shahms at shahms.com
Fri Jul 23 15:49:59 UTC 2004
On Fri, 2004-07-23 at 11:44 -0400, seth vidal wrote:
> Great.
> I think I found it - some packages are giving back odd answers.
>
> I've patched the program and I think I fixed all 3 of the reported
> problems.
>
> as soon as ols bandwidth lets me talk to the world I'll check them in
> and post a new tarball, if you can test it, it would be great.
>
> Thanks for finding this problem.
>
> -sv
Yeah, it looks like some packages are giving back an empty string for
file, mode and flags. Just changing the loop in "genFileLists" to:
if mode and stat.S_ISDIR(mode):
self.dirnames.append(file)
elif flag and file:
if (flag & 64):
self.ghostnames.append(file)
else:
self.filenames.append(file)
Worked for me.
--
Shahms E. King <shahms at shahms.com>
Multnomah ESD
Public Key:
http://shahms.mesd.k12.or.us/~sking/shahms.asc
Fingerprint:
1612 054B CE92 8770 F1EA AB1B FEAB 3636 45B2 D75B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20040723/0bed4c07/attachment-0002.bin
More information about the devel
mailing list