On Mon, Jun 13, 2011 at 9:55 PM, James Antill <[email protected]> wrote:

> ---
>  output.py |    7 +++++--
>  1 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/output.py b/output.py
> index 398dafa..3840f82 100755
> --- a/output.py
> +++ b/output.py
> @@ -897,13 +897,16 @@ class YumOutput:
>         if not verbose:
>             return
>
> -        print _("Repo        : %s") % po.repoid
> -        print _('Matched from:')
> +        print _("Repo        : %s") % po.ui_from_repo
> +        done = False
>         for item in yum.misc.unique(values):
>             item = to_utf8(item)
>             if to_utf8(po.name) == item or to_utf8(po.summary) == item:
>                 continue # Skip double name/summary printing
>
> +            if not done:
> +                print _('Matched from:')
> +                done = True
>             can_overflow = True
>             if False: pass
>             elif to_utf8(po.description) == item:
> --
> 1.7.5.2
>
> _______________________________________________
> 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

Reply via email to