From 71496be75f6523b51f9316d3dcf7e0662d2cb606 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Mon, 21 Nov 2022 16:46:43 +0100 Subject: [PATCH] pylint: fix implicit-str-concat Related: https://pagure.io/freeipa/issue/9278 Signed-off-by: Florence Blanc-Renaud Reviewed-By: Stanislav Levin --- ipaclient/install/ipa_epn.py | 2 +- ipatests/pytest_ipa/integration/tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipaclient/install/ipa_epn.py b/ipaclient/install/ipa_epn.py index 14bf686f7..114181473 100644 --- a/ipaclient/install/ipa_epn.py +++ b/ipaclient/install/ipa_epn.py @@ -397,7 +397,7 @@ class EPN(admintool.AdminTool): """ if api.env.smtp_security.lower() not in ("none", "starttls", "ssl"): raise RuntimeError( - "smtp_security must be one of: " "none, starttls or ssl" + "smtp_security must be one of: none, starttls or ssl" ) if api.env.smtp_user is not None and api.env.smtp_password is None: raise RuntimeError("smtp_user set and smtp_password is not") diff --git a/ipatests/pytest_ipa/integration/tasks.py b/ipatests/pytest_ipa/integration/tasks.py index 560865696..cfdd5755c 100755 --- a/ipatests/pytest_ipa/integration/tasks.py +++ b/ipatests/pytest_ipa/integration/tasks.py @@ -238,7 +238,7 @@ def fix_apache_semaphores(master): raiseonerr=False) master.run_command( - 'for line in `ipcs -s | grep apache ''| cut -d " " -f 2`; ' + 'for line in `ipcs -s | grep apache ''| cut -d " " -f 2`; ' + 'do ipcrm -s $line; done', raiseonerr=False )