[dak/master 1/2] filter on active keyrings only
Signed-off-by: Mark Hymers <mhy@debian.org>
---
daklib/utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daklib/utils.py b/daklib/utils.py
index c0a3bdf..707d3b8 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:
--
1.7.2.5
Reply to: