with_sequence: Fix indentation
This doesn't need to run for every parameters. Once is enough.
This commit is contained in:
parent
7542dae26b
commit
7db4ed02ee
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ class LookupModule(LookupBase):
|
|||
"can't parse arg %s=%r as integer"
|
||||
% (arg, arg_raw)
|
||||
)
|
||||
if 'format' in args:
|
||||
self.format = args.pop("format")
|
||||
if 'format' in args:
|
||||
self.format = args.pop("format")
|
||||
if args:
|
||||
raise AnsibleError(
|
||||
"unrecognized arguments to with_sequence: %r"
|
||||
|
|
Loading…
Reference in a new issue