Parse out space characters in route53 value list

Fixes: https://github.com/ansible/ansible-modules-core/issues/992
reviewable/pr18780/r1
Tom Paine 10 years ago committed by Juho-Mikko Pellinen
parent 87404fa798
commit e93b5c6724

@ -224,7 +224,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