From bd14b889e6f938d3448c6551d29e6650b022a0fd Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sun, 23 Jan 2005 18:16:01 +0000
Subject: [PATCH] if signature is good, do not look for bad signature

---
 Core/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Core/core.py b/Core/core.py
index 4dbf3a19e3..8090da5b5a 100644
--- a/Core/core.py
+++ b/Core/core.py
@@ -163,7 +163,7 @@ else:
 			keyid = ''
 			if resp.has_key('GOODSIG'):
 				keyid = string.split(resp['GOODSIG'])[0]
-			if resp.has_key('BADSIG'):
+			elif resp.has_key('BADSIG'):
 				keyid = string.split(resp['BADSIG'])[0]
 			return keyid
 
-- 
GitLab