1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
default values can contain nonstrings and those should not be converted
via to_text.
This commit is contained in:
Toshio Kuratomi 2017-01-04 14:35:05 -08:00
parent 91242b8cc3
commit f129977e2b

View file

@ -135,7 +135,7 @@ def _get_config(p, section, key, env_var, default):
except: except:
pass pass
return to_text(value, errors='surrogate_or_strict') return to_text(value, errors='surrogate_or_strict', nonstring='passthru')
def load_config_file(): def load_config_file():