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