1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 committed by Matt Clay
parent 543cb13f42
commit df8013182e

View file

@ -293,7 +293,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)