From b7c7c9107dbfbe7627b4dddeaafcde0a42e49d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Thu, 23 Feb 2017 16:31:04 +0100 Subject: [PATCH] fix relay parser, #20590 --- tests/test_postfix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_postfix.py b/tests/test_postfix.py index dcba0ad0..10df7398 100755 --- a/tests/test_postfix.py +++ b/tests/test_postfix.py @@ -29,7 +29,7 @@ all_ok = True def get_configured_relay(): status, out = subprocess.getstatusoutput('grep relayhost /etc/postfix/main.cf') if status == 0: - return out.split('relayhost =')[1] + return out.split('relayhost = ')[1] def check_relay(): global all_ok -- GitLab