From: Mark Hymers Date: Thu, 24 Mar 2011 10:56:14 +0000 (+0000) Subject: filter on active keyrings only X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=799eb857c8b604aac6c3e26055d774d95ed0c1a0;p=dak.git filter on active keyrings only Signed-off-by: Mark Hymers --- 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: