mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Delimiter param must be a string
This commit is contained in:
committed by
Abhijit Menon-Sen
parent
8737061a8f
commit
8156ad3760
@@ -63,7 +63,10 @@ class LookupModule(object):
|
||||
for param in params[1:]:
|
||||
name, value = param.split('=')
|
||||
assert(name in paramvals)
|
||||
paramvals[name] = value
|
||||
if name == 'delimiter':
|
||||
paramvals[name] = str(value)
|
||||
else:
|
||||
paramvals[name] = value
|
||||
except (ValueError, AssertionError), e:
|
||||
raise errors.AnsibleError(e)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user