X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc%2Fsrc%2Fmain%2Fscripts%2FinstallCerts.py;h=ae5d5b3bf0a574576fb785097a5450b7cc78e296;hb=17d655f931d3c1f298c9166ac52fec4a1c6b7f97;hp=a8133d5f0cc8c9000672fa0875c04fd1e273b74a;hpb=29e187d698c1a88605e74f3f372cb0c98aebb9e0;p=sdnc%2Foam.git 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()