[Yum-devel] [PATCH] don't break when we import a single key from a single file

Tim Lauridsen tim.lauridsen at gmail.com
Thu Aug 12 16:10:04 UTC 2010


On Thu, Aug 12, 2010 at 6:02 PM, Seth Vidal <skvidal at fedoraproject.org>wrote:

> this fixes the multiple-key api-fix from
> f5a7625e93ee701fd1dc27b04bc040e8113a2e39
> ---
>  yum/pgpmsg.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/yum/pgpmsg.py b/yum/pgpmsg.py
> index 9f58fad..b23eabc 100644
> --- a/yum/pgpmsg.py
> +++ b/yum/pgpmsg.py
> @@ -1272,7 +1272,7 @@ def decode_multiple_keys(msg):
>         block += '%s\n' % l
>         if l == '-----END PGP PUBLIC KEY BLOCK-----':
>             in_block = 0
> -            thesecerts = decode_msg(block)
> +            thesecerts = decode_msg(block, multi=True)
>             if thesecerts:
>                 certs.extend(thesecerts)
>             block = ''
> --
> 1.7.2
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>

ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20100812/555ae8b6/attachment.html>


More information about the Yum-devel mailing list