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

Seth Vidal skvidal at fedoraproject.org
Thu Aug 12 16:02:58 UTC 2010


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



More information about the Yum-devel mailing list