This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-1594 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 289e4f6cbd51b59a852d7a688501d80ffe461b01 Author: leonidfrolov <[email protected]> AuthorDate: Fri Mar 13 18:08:05 2020 +0200 [DLAB-1594]: fixed error --- infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py b/infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py index 75a1b27..42871b1 100644 --- a/infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py +++ b/infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py @@ -81,7 +81,7 @@ def find_replace_line(file_path, searched_str, replacement_line): if searched_str in line: line = replacement_line with open(file_path, 'w') as file: - file.writelines(data) + file.writelines(lines) except Exception as err: print('Failed to replace string: ' + str(err)) sys.exit(1) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
