with_sequence: Fix indentation

This doesn't need to run for every parameters. Once is enough.
This commit is contained in:
Benoît Allard 2016-11-30 11:44:12 +01:00 committed by Toshio Kuratomi
parent 7542dae26b
commit 7db4ed02ee

View file

@ -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"