diff options
author | Linus Nordberg <linus@nordu.net> | 2016-12-05 01:43:23 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-12-05 01:43:59 +0100 |
commit | 014fca44b8f424165719e800c1cf6ef934276091 (patch) | |
tree | cad1de217231d7060c894e249ba7066673dfd410 | |
parent | 8127a1f74768ef58583628128d45ef45313a862d (diff) |
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
-rwxr-xr-x | tools/storagegc.py | 3 |
1 files changed, 0 insertions, 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() |