mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Run pyupgrade
on the changes from the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
c06f94523a
commit
23e96fdc6d
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ def service_name(grains, modules):
|
|||
service_name = "Spooler"
|
||||
|
||||
if os_family != "Windows" and salt.utils.path.which(cmd_name) is None:
|
||||
pytest.skip("{} is not installed".format(cmd_name))
|
||||
pytest.skip(f"{cmd_name} is not installed")
|
||||
|
||||
if is_systemd and modules.service.offline():
|
||||
pytest.skip("systemd is OFFLINE")
|
||||
|
|
|
@ -43,7 +43,7 @@ def service_name(grains, modules):
|
|||
service_name = "Spooler"
|
||||
|
||||
if os_family != "Windows" and salt.utils.path.which(cmd_name) is None:
|
||||
pytest.skip("{} is not installed".format(cmd_name))
|
||||
pytest.skip(f"{cmd_name} is not installed")
|
||||
|
||||
if is_systemd and modules.service.offline():
|
||||
pytest.skip("systemd is OFFLINE")
|
||||
|
|
Loading…
Add table
Reference in a new issue