Code Review
/
sdnc
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Failure encountered while execution of installCerts.py script
[sdnc/oam.git]
/
installation
/
sdnc
/
src
/
main
/
scripts
/
installCerts.py
diff --git
a/installation/sdnc/src/main/scripts/installCerts.py
b/installation/sdnc/src/main/scripts/installCerts.py
index
a8133d5
..
ae5d5b3
100644
(file)
--- 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:
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()
password = file_obj.read().strip()
- return
password
+ return
"'{}'".format(password)
except Exception as e:
logging.error("Error occurred while fetching password : %s", e)
exit()
except Exception as e:
logging.error("Error occurred while fetching password : %s", e)
exit()