From 9b0109848b10a370e1a19c9d3789e048f1992f86 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 16 Jun 2021 13:19:25 +0200 Subject: be explicit when we return None --- siglog-witness.py | 1 + 1 file changed, 1 insertion(+) diff --git a/siglog-witness.py b/siglog-witness.py index 0ddb8b7..5b799e0 100755 --- a/siglog-witness.py +++ b/siglog-witness.py @@ -223,6 +223,7 @@ class TreeHead: proof.path()) return ERR_CONSISTENCYPROOF_INVALID, errmsg + return None # Success class ConsistencyProof(): def __init__(self, consistency_proof_data): -- cgit v1.2.3