1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments/fix-config-from-environment.yaml
Toshio Kuratomi d483d646eb Normalize config from environment as text strings
On Python3, these would be text strings already.  On Python2, we need to
convert them from bytes.

Use a new helper function py3compat to do this.

Fixes #43207
2018-08-01 19:42:35 -07:00

5 lines
262 B
YAML

---
bugfixes:
- On Python2, loading config values from environment variables could lead to
a traceback if there were nonascii characters present. Converted them to
text strings so that no traceback will occur (https://github.com/ansible/ansible/pull/43468)