We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e8c65 commit 06d510aCopy full SHA for 06d510a
1 file changed
tools/marvin/marvin/deployDataCenter.py
@@ -36,7 +36,7 @@ class DeleteDataCenters: Deletes a DataCenter based upon the dc cfg
36
from sys import exit
37
import os
38
import pickle
39
-from time import sleep, time, strftime
+from time import sleep, strftime, localtime
40
from optparse import OptionParser
41
42
@@ -67,8 +67,7 @@ def __persistDcConfig(self):
67
if self.__logFolderPath:
68
dc_file_path = self.__logFolderPath + "/dc_entries.obj"
69
else:
70
- ts = strftime("%b_%d_%Y_%H_%M_%S",
71
- time.localtime())
+ ts = strftime("%b_%d_%Y_%H_%M_%S", localtime())
72
dc_file_path = "dc_entries_" + str(ts) + ".obj"
73
file_to_write = open(dc_file_path, 'w')
74
if file_to_write:
0 commit comments