daklib/gpg.py: Ignore POLICY_URL keyword.

上级 fc3a6f53
......@@ -202,7 +202,7 @@ class SignedFile(object):
raise GpgException("More than one signature id.")
self.signature_id = fields[2]
elif fields[1] in ('PLAINTEXT', 'GOODSIG', 'NOTATION_NAME', 'NOTATION_DATA', 'SIGEXPIRED', 'KEYEXPIRED'):
elif fields[1] in ('PLAINTEXT', 'GOODSIG', 'NOTATION_NAME', 'NOTATION_DATA', 'SIGEXPIRED', 'KEYEXPIRED', 'POLICY_URL'):
pass
elif fields[1] in ('EXPSIG', 'EXPKEYSIG'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册