From ab0550f8f0c8f544b5878746ea963180551192d7 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 25 Nov 2016 14:51:29 +0100 Subject: Do import datetime even more. --- tools/storagegc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/storagegc.py') diff --git a/tools/storagegc.py b/tools/storagegc.py index a4f15b7..4bfbad5 100755 --- a/tools/storagegc.py +++ b/tools/storagegc.py @@ -10,6 +10,7 @@ import json import base64 import sys import yaml +from datetime import datetime from certtools import * parser = argparse.ArgumentParser(description='') @@ -48,7 +49,7 @@ def verifyleafhash(leaf_hash): return True -starttime = datetime.datetime.now() +starttime = datetime.now() try: -- cgit v1.1