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
commit 7db4ed02ee

View file

@ -100,8 +100,8 @@ class LookupModule(LookupBase):
"can't parse arg %s=%r as integer" "can't parse arg %s=%r as integer"
% (arg, arg_raw) % (arg, arg_raw)
) )
if 'format' in args: if 'format' in args:
self.format = args.pop("format") self.format = args.pop("format")
if args: if args:
raise AnsibleError( raise AnsibleError(
"unrecognized arguments to with_sequence: %r" "unrecognized arguments to with_sequence: %r"