Parse out space characters in route53 value list

Fixes: https://github.com/ansible/ansible-modules-core/issues/992
This commit is contained in:
Tom Paine 2015-06-22 14:52:45 +01:00
parent f7e24fb768
commit 74d9f74536

View file

@ -224,7 +224,7 @@ def main():
if type(value_in) is str:
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:
value_list = sorted(value_in)