Commit 8156ad37 by JustInVTime Committed by Abhijit Menon-Sen

Delimiter param must be a string

parent 8737061a
...@@ -63,7 +63,10 @@ class LookupModule(object): ...@@ -63,7 +63,10 @@ class LookupModule(object):
for param in params[1:]: for param in params[1:]:
name, value = param.split('=') name, value = param.split('=')
assert(name in paramvals) assert(name in paramvals)
paramvals[name] = value if name == 'delimiter':
paramvals[name] = str(value)
else:
paramvals[name] = value
except (ValueError, AssertionError), e: except (ValueError, AssertionError), e:
raise errors.AnsibleError(e) raise errors.AnsibleError(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment