mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 21:01:27 -07:00
Python 2.6 str.format()
compatibility fixes.
This commit is contained in:
parent
95ff8f1a90
commit
797664d9cb
20 changed files with 43 additions and 62 deletions
|
@ -75,7 +75,7 @@ class LookupModule(LookupBase):
|
|||
setattr(self, arg, parsed)
|
||||
except ValueError:
|
||||
raise AnsibleError(
|
||||
"can't parse arg {}={} as string".format(arg, arg_raw)
|
||||
"can't parse arg {0}={1} as string".format(arg, arg_raw)
|
||||
)
|
||||
if args:
|
||||
raise AnsibleError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue