Re: createrepo/rpm-metadata repository format creator ver 0.3.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Multnomah ESD

Public Key:
http://shahms.mesd.k12.or.us/~sking/shahms.asc
Fingerprint:
1612 054B CE92 8770 F1EA  AB1B FEAB 3636 45B2 D75B

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux