From 799eb857c8b604aac6c3e26055d774d95ed0c1a0 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Thu, 24 Mar 2011 10:56:14 +0000 Subject: [PATCH] filter on active keyrings only Signed-off-by: Mark Hymers --- daklib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/utils.py b/daklib/utils.py index c0a3bdff..707d3b85 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1336,7 +1336,7 @@ def check_signature (sig_filename, data_filename="", keyrings=None, autofetch=No return (None, rejects) if not keyrings: - keyrings = [ x.keyring_name for x in DBConn().session().query(Keyring).all() ] + keyrings = [ x.keyring_name for x in DBConn().session().query(Keyring).filter(Keyring.active == True).all() ] # Autofetch the signing key if that's enabled if autofetch == None: -- 2.39.5