with_sequence: Fix indentation

This doesn't need to run for every parameters. Once is enough.
pull/4420/head
Benoît Allard 2016-11-30 11:44:12 +01:00 committed by Toshio Kuratomi
parent 7542dae26b
commit 7db4ed02ee
1 changed files with 2 additions and 2 deletions

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"