[Yum-devel] [PATCH] Search for other installed packages, for available lists in "all". BZ 786116.

Zdenek Pavlas zpavlas at redhat.com
Thu Feb 2 15:31:02 UTC 2012


> +                        if (self.allowedMultipleInstalls(pkg) or
> +                            key not in ndinst):
> ..
> +                                ndinst[key] = sorted(ipkgs)[-1]

Can't we just use max(ipkgs) there?  Not sure if there were
any issues with min/max, and I was unable to google it atm.

ACK.


More information about the Yum-devel mailing list