[repo-coord] Re: smart(dag) and atrpms-package-config(at)
Gustavo Niemeyer
gustavo at niemeyer.net
Thu Mar 17 17:51:58 CET 2005
> for type in ["", "doc", "smp" ]:
> if type:
> kernel = "kernel-%s" % type
> else:
> kernel = "kernel"
> pkgconf.setFlag("multi-version", kernel)
>
> Makes sense to unroll the loop, as it's more readable :)
Certainly. I belive the origin of this loop was a copy & paste
from the distro.py we use in Conectiva, where it makes sense
because we have many more kernel packages than these.
--
Gustavo Niemeyer
http://niemeyer.net
More information about the repo-coord
mailing list