[buildinfo.debian.net] 29/35: Check VALIDSIG too.

Chris Lamb chris at chris-lamb.co.uk
Thu Nov 3 19:02:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository buildinfo.debian.net.

commit a913bef89f937d2ef568e0dab7086107527d4202
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Nov 1 19:46:10 2016 +0000

    Check VALIDSIG too.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 bidb/api/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bidb/api/utils.py b/bidb/api/utils.py
index 92abbeb..2dab41c 100644
--- a/bidb/api/utils.py
+++ b/bidb/api/utils.py
@@ -31,7 +31,7 @@ def parse_submission(request):
     data.raw_text = raw_text
     gpg_info = data.get_gpg_info()
     if 'NODATA' not in gpg_info:
-        for x in ('NO_PUBKEY',):
+        for x in ('VALIDSIG', 'NO_PUBKEY'):
             try:
                 uid = gpg_info[x][0]
                 break

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/buildinfo.debian.net.git



More information about the Reproducible-commits mailing list