From c1038dc1399db8f0d1bf02c615595e1336855c6d Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Mon, 20 Apr 2020 11:45:02 -0700 Subject: [PATCH] revert hook.py changes --- certbot-ci/certbot_integration_tests/assets/hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certbot-ci/certbot_integration_tests/assets/hook.py b/certbot-ci/certbot_integration_tests/assets/hook.py index 483892a93..39aa72ac5 100755 --- a/certbot-ci/certbot_integration_tests/assets/hook.py +++ b/certbot-ci/certbot_integration_tests/assets/hook.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -from __future__ import print_function import os import sys @@ -8,4 +7,5 @@ if hook_script_type == 'deploy' and ('RENEWED_DOMAINS' not in os.environ or 'REN sys.stderr.write('Environment variables not properly set!\n') sys.exit(1) -print(hook_script_type) +with open(sys.argv[2], 'a') as file_h: + file_h.write(hook_script_type + '\n')