|
@@ -34,8 +34,6 @@
|
|
|
from __future__ import print_function
|
|
|
import atexit
|
|
|
import copy
|
|
|
-# pylint: disable=unused-import
|
|
|
-import time
|
|
|
import json
|
|
|
import os
|
|
|
import re
|
|
@@ -1357,6 +1355,7 @@ class CAServerCert(OpenShiftCLI):
|
|
|
# Added this here as a safegaurd for stomping on the
|
|
|
# cert and key files if they exist
|
|
|
if self.config.config_options['backup']['value']:
|
|
|
+ import time
|
|
|
ext = time.strftime("%Y-%m-%d@%H:%M:%S", time.localtime(time.time()))
|
|
|
date_str = "%s_" + "%s" % ext
|
|
|
|