python: Adapt to TOFU changes.
authorJustus Winter <justus@g10code.com>
Wed, 14 Sep 2016 12:32:48 +0000 (14:32 +0200)
committerJustus Winter <justus@g10code.com>
Wed, 14 Sep 2016 12:32:48 +0000 (14:32 +0200)
* lang/python/pyme/results.py (TofuInfo): Drop.
(Signature): The TOFU information moved to the key.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/python/pyme/results.py

index bfc26cc..3383896 100644 (file)
@@ -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)