On Thu, 2011-10-13 at 10:39 -0400, James Antill wrote:
> ---
>  yum/__init__.py |   14 +++++++++-----
>  1 files changed, 9 insertions(+), 5 deletions(-)
> 
> diff --git a/yum/__init__.py b/yum/__init__.py
> index 1807d61..53043de 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -5093,17 +5093,21 @@ class YumBase(depsolve.Depsolve):
>              if pkgs:
>                  pkgs = sorted(pkgs)[-1]
>                  msg = (_('Importing %s key 0x%s:\n'
> -                         ' Userid : %s\n'
> -                         ' Package: %s (%s)\n'
> -                         ' From   : %s') %
> +                         ' Userid     : "%s"\n'
> +                         ' Fingerprint: %s\n'
> +                         ' Package    : %s (%s)\n'
> +                         ' From       : %s') %
>                         (keytype, info['hexkeyid'], 
> to_unicode(info['userid']),
> +                        misc.gpgkey_fingerprint_ascii(info),
>                          pkgs, pkgs.ui_from_repo,
>                          keyurl.replace("file://","")))
>          if msg is None:
>              msg = (_('Importing %s key 0x%s:\n'
> -                     ' Userid: "%s"\n'
> -                     ' From  : %s') %
> +                     ' Userid     : "%s"\n'
> +                     ' Fingerprint: %s\n'
> +                     ' From       : %s') %
>                     (keytype, info['hexkeyid'], to_unicode(info['userid']),
> +                    misc.gpgkey_fingerprint_ascii(info),
>                      keyurl.replace("file://","")))
>          self.logger.critical("%s", msg)
>  

ACK

-sv


_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to