mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
Replaced f-string with .format for Python2 compatibility
This commit is contained in:
parent
6635b83911
commit
d4c3aef803
1 changed files with 1 additions and 1 deletions
|
|
@ -1055,7 +1055,7 @@ def main():
|
|||
if forward is not None:
|
||||
|
||||
if StrictVersion(FIREWALLD_VERSION) < StrictVersion('0.9.0'):
|
||||
module.fail_json(msg=f'Intra zone forwarding requires firewalld>=0.9.0. Current version is {FIREWALLD_VERSION}.')
|
||||
module.fail_json(msg='Intra zone forwarding requires firewalld>=0.9.0. Current version is {0}.'.format(FIREWALLD_VERSION))
|
||||
|
||||
transaction = ForwardTransaction(
|
||||
module,
|
||||
|
|
|
|||
Loading…
Reference in a new issue