X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Futils.py;h=707d3b85bd4564a8262b9b4e8f00ab8ad0ac2490;hb=4a4f149ecf5a037eb02a6af3a6e4390de7e8ed2a;hp=c0a3bdff2936333d87385f473f4b031df08de180;hpb=173f39f0ab7af8b592704189f8ecc4a4aa3df889;p=dak.git 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: