mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
pylint: fix implicit-str-concat
Related: https://pagure.io/freeipa/issue/9278 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
parent
139038c58b
commit
2268ef4e3c
@ -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")
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user