Re: smart(dag) and atrpms-package-config(at)
Gustavo Niemeyer <[email protected]> Thu, 17 Mar 2005 13:51:58 -0300
| Newsgroups | gmane.linux.redhat.rpm.atrpms.repo-coordination |
|---|---|
| Message-ID | <[email protected]> |
> 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