summaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-04-07 11:19:03 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-07 11:19:03 +0000
commitd961253675bf41311e9ac55d0f3a81d12b3d3c82 (patch)
tree0b16f8d6740eaffe3473e2ea8a95b8fdfe3b654b /installation
parentbfb86a07c72262855309b30b1399f3eaab8019c5 (diff)
parent926b17ef2bd841b4372c701859864c23cd612077 (diff)
Merge "Failure encountered while execution of installCerts.py script fails to convert keystore.jks/truststore.jks to keystore.p12/truststore.p12"
Former-commit-id: 56ecc53aed85f4d0686e9a66f92d87ab11bbbebf
Diffstat (limited to 'installation')
-rw-r--r--installation/sdnc/src/main/scripts/installCerts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/installation/sdnc/src/main/scripts/installCerts.py b/installation/sdnc/src/main/scripts/installCerts.py
index a8133d5f..ae5d5b3b 100644
--- a/installation/sdnc/src/main/scripts/installCerts.py
+++ b/installation/sdnc/src/main/scripts/installCerts.py
@@ -221,9 +221,9 @@ def timeIncrement(timePassed):
def get_pass(file_name):
try:
- with open(file_name , 'r') as file_obj:
+ with open(file_name, 'r') as file_obj:
password = file_obj.read().strip()
- return password
+ return "'{}'".format(password)
except Exception as e:
logging.error("Error occurred while fetching password : %s", e)
exit()