]> git.decadent.org.uk Git - dak.git/commitdiff
sig verify
authorJoerg Jaspert <joerg@debian.org>
Fri, 30 Oct 2009 19:52:06 +0000 (20:52 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 30 Oct 2009 19:52:06 +0000 (20:52 +0100)
dont barf on policy_url in a sig, even if the usge of that is pretty
pointless for things uploaded to the archive.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/utils.py

index 6ec92f89ad7e03d60a2e793829333b3907128346..05287483a52147ed19fac447fd7b2a8393f43ef5 100755 (executable)
@@ -1362,7 +1362,7 @@ def check_signature (sig_filename, data_filename="", keyrings=None, autofetch=No
     # Finally ensure there's not something we don't recognise
     known_keywords = dict(VALIDSIG="",SIG_ID="",GOODSIG="",BADSIG="",ERRSIG="",
                           SIGEXPIRED="",KEYREVOKED="",NO_PUBKEY="",BADARMOR="",
-                          NODATA="",NOTATION_DATA="",NOTATION_NAME="",KEYEXPIRED="")
+                          NODATA="",NOTATION_DATA="",NOTATION_NAME="",KEYEXPIRED="",POLICY_URL="")
 
     for keyword in keywords.keys():
         if not known_keywords.has_key(keyword):