plague 0.4 config file formats...

Chris Weyl chris.weyl at gmail.com
Thu Oct 20 21:26:22 UTC 2005


On 10/20/05, Dan Williams <dcbw at redhat.com> wrote:
> On Wed, 2005-10-19 at 18:00 -0400, Chris Weyl wrote:
[...snip...]
>
> So I pushed new plague packages yesterday to fix this.  If you want to
> fix it right now, you can modify /usr/share/plague/server/Config.py as
> such (in pseudo diff format, or course):
>
>     def addl_pkg_arches(self):
>         if not self._config.has_section("Additional Package Arches"):
> -            return []
> +            return {}
>         items = self._config.items("Additional Package Arches")
>
> ie, just change the [] -> {} and it should work there.  Or add a
> [Additional Package Arches] section to your target's config file.  Or
> update to latest plague RPMs.

Perfect, updated and it works nicely...  It did complain about needing
Arches/optional_arches in the target config file, so I added that
(e.g. = i486 i586 i686 athlon noarch) and the complaints went away.

Thanks again :)

                                      -Chris




More information about the Fedora-buildsys-list mailing list