Parse out space characters in route53 value list

Fixes: https://github.com/ansible/ansible-modules-core/issues/992
pull/18777/head
Tom Paine 10 years ago committed by Matt Clay
parent 543cb13f42
commit df8013182e

@ -293,7 +293,7 @@ def main():
if type(value_in) is str: if type(value_in) is str:
if value_in: if value_in:
value_list = sorted(value_in.split(',')) value_list = sorted([s.strip() for s in value_in.split(',')])
elif type(value_in) is list: elif type(value_in) is list:
value_list = sorted(value_in) value_list = sorted(value_in)

Loading…
Cancel
Save