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

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

 



> 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)
> 

You also need to check to see if the file is not an empty string.

instead of just None.

but yah - that fixed it and I finally got through so I'll be uploading
0.3.5 shortly.

thanks

-sv




[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