Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-core
57 commits behind the upstream repository.
Jérémy Bobbio (Lunar)'s avatar
Jérémy Bobbio (Lunar) authored
YAML mappings are converted in Python as dict. The order
of the keys in dicts returned by `load_from_envvar()` were
not stable from one Python run to the next.

Since Python 3.6, dicts are ordered by default, and `yaml.safe_load()`
will always return keys in the same order. The culprit was
`merge_configs` which created a set (which are unordered) of keys
to perform the merge.
32e534f1
History
Name Last commit Last update
..
core
__main__.py