summaryrefslogtreecommitdiff
path: root/tools/storagegc.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-11-25 14:51:29 +0100
committerLinus Nordberg <linus@nordu.net>2016-11-25 14:51:46 +0100
commit797850d9b28084069085fb0629e763dffedc3d8a (patch)
tree9a187d9e6d4920cf883873fbba4fc71cdcd35c0a /tools/storagegc.py
parentd8ce0c149f10d841dc19cbc32c8fc844aa4d65fb (diff)
Do import datetime even more.
Diffstat (limited to 'tools/storagegc.py')
-rwxr-xr-xtools/storagegc.py3
1 files changed, 2 insertions, 1 deletions
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: