From 014fca44b8f424165719e800c1cf6ef934276091 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 5 Dec 2016 01:43:23 +0100 Subject: Remove offending use of datetime.now(). I don't really understand why this happens but I wonder if it might be because we 'from datetime import datetime' twice through the wildcard inclusion of certtools. Should stop do wildcard include and instead do from certtools import create_ssl_context, get_sth, get_proof_by_hash, verify_inclusion_proof, write_file --- tools/storagegc.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/storagegc.py b/tools/storagegc.py index 4bfbad5..c9dd256 100755 --- a/tools/storagegc.py +++ b/tools/storagegc.py @@ -10,7 +10,6 @@ import json import base64 import sys import yaml -from datetime import datetime from certtools import * parser = argparse.ArgumentParser(description='') @@ -49,8 +48,6 @@ def verifyleafhash(leaf_hash): return True -starttime = datetime.now() - try: lastverifiedstring = open(db_path + "lastverifiednewentry").read() -- cgit v1.1