On Mon, Feb 27, 2012 at 9:54 PM, James Antill <[email protected]> wrote: > --- > yumcommands.py | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/yumcommands.py b/yumcommands.py > index cfa6bf7..bb4dde8 100644 > --- a/yumcommands.py > +++ b/yumcommands.py > @@ -538,6 +538,11 @@ class InfoCommand(YumCommand): > """ > try: > highlight = base.term.MODE['bold'] > + # If we are doing: "yum info installed blah" don't do the > highlight > + # because the usability of not accessing the repos. is still > higher > + # than providing colour for a single line. Usable > updatesd/etc. FTW. > + if basecmd == 'info' and extcmds and extcmds[0] == > 'installed': > + highlight = False > ypl = base.returnPkgLists(extcmds, > installed_available=highlight) > except yum.Errors.YumBaseError, e: > return 1, [str(e)] > -- > 1.7.6.5 > > _______________________________________________ > Yum-devel mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum-devel >
ACK
_______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
