On Wed, 2011-01-12 at 16:53 +0100, Tim Lauridsen wrote: > Now we get very long skip-broken transaction listings with -d9 [...] > diff --git a/yum/__init__.py b/yum/__init__.py > index 39ed0db..d8c5c3f 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -1289,7 +1289,7 @@ class YumBase(depsolve.Depsolve): > for txmbr in sorted(self.tsInfo): > msg = "SKIPBROKEN: %-11s : %s " % > (state[txmbr.output_state],txmbr.po) > self.verbose_logger.log(logginglevels.DEBUG_2, msg) > - for po,rel in sorted(txmbr.relatedto): > + for po,rel in set(sorted(txmbr.relatedto)):
Instead do: + for po,rel in sorted(set(txmbr.relatedto)): ...so it'll still be sorted. ACK. _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
