From 88a48a560bfbd4de1a40f77e74ee65bc321e3459 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 16 Mar 2013 16:17:22 +0000 Subject: [PATCH] Better error when a key is missing from the bundle --- install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/install.py b/install.py index 8791998..fea66e9 100644 --- a/install.py +++ b/install.py @@ -93,6 +93,7 @@ class Installer: feed_stream.seek(0) stream, sigs = gpg.check_stream(feed_stream) for s in sigs: + assert isinstance(s, gpg.ValidSig), str(s) if not trust.trust_db.is_trusted(s.fingerprint, domain): print "Adding key %s to trusted list for %s" % (s.fingerprint, domain) trust.trust_db.trust_key(s.fingerprint, domain) -- 2.11.4.GIT