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:29 +0100
commitab0550f8f0c8f544b5878746ea963180551192d7 (patch)
tree3cbefca42fbbe769bd4d86471f6a37b9ae000e33 /tools/storagegc.py
parent616be2a18cea1ecfee327105a58f4f397a7e28f1 (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: