summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceCloudSigma.py
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-12-02 20:20:41 -0500
committerScott Moser <smoser@brickies.net>2016-12-02 20:20:41 -0500
commit166df605dc9864eb163007300db7a611feb309d6 (patch)
tree7b87cd0b092f731c610cc59c3f18fa8b7c200ed5 /cloudinit/sources/DataSourceCloudSigma.py
parentf6d5dc486776019e0799f95f8d1982be8fba4da5 (diff)
downloadvyos-cloud-init-166df605dc9864eb163007300db7a611feb309d6.tar.gz
vyos-cloud-init-166df605dc9864eb163007300db7a611feb309d6.zip
fix decoding of utf-8 chars in yaml test
Python 3 would fail to load yaml from doc/examples/cloud-config-apt.txt when the LANG (specifically LC_CTYPE) was 'C'. The changes here do 2 things: a.) remove the non-ascii characters from the yaml file. b.) fix the validate-yaml.py program to decode using utf-8 specifically rather than using the inherited settings. This fixes it now for ascii and in the future also should non-ascii slip in.
Diffstat (limited to 'cloudinit/sources/DataSourceCloudSigma.py')
0 files changed, 0 insertions, 0 deletions