[Pkg-gnupg-commit] [gpgme] 357/412: python: Adapt to TOFU changes.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:27:19 UTC 2016


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

dkg pushed a commit to branch master
in repository gpgme.

commit f6cd560ca74248dd719a37cfb34386148727a92d
Author: Justus Winter <justus at g10code.com>
Date:   Wed Sep 14 14:32:48 2016 +0200

    python: Adapt to TOFU changes.
    
    * lang/python/pyme/results.py (TofuInfo): Drop.
    (Signature): The TOFU information moved to the key.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 lang/python/pyme/results.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lang/python/pyme/results.py b/lang/python/pyme/results.py
index bfc26cc..3383896 100644
--- a/lang/python/pyme/results.py
+++ b/lang/python/pyme/results.py
@@ -92,12 +92,9 @@ class SignResult(Result):
 class Notation(Result):
     pass
 
-class TofuInfo(Result):
-    pass
-
 class Signature(Result):
     _type = dict(wrong_key_usage=bool, chain_model=bool)
-    _map = dict(notations=Notation, tofu=TofuInfo)
+    _map = dict(notations=Notation)
 
 class VerifyResult(Result):
     _map = dict(signatures=Signature)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list