mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +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 forward is not None:
|
||||||
|
|
||||||
if StrictVersion(FIREWALLD_VERSION) < StrictVersion('0.9.0'):
|
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(
|
transaction = ForwardTransaction(
|
||||||
module,
|
module,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue