diff options
| author | MithicSpirit <rpc01234@gmail.com> | 2024-10-03 21:28:24 -0400 |
|---|---|---|
| committer | MithicSpirit <rpc01234@gmail.com> | 2024-10-10 17:57:41 -0400 |
| commit | e14483d6a67399485876ab51c9726dbd2eb0836a (patch) | |
| tree | d2dcfa47d06275983d873deb39e24fa9c56877a9 /pkgs/development/python-modules/rangehttpserver | |
| parent | e5e2a4b18e85d640a37379ece58e8e3dfe0b08e8 (diff) | |
formats.ini: disable merging as list by default
Previously, setting listsAsDuplicateKeys or listToValue would make it so
merging these treat all values as lists, by coercing non-lists via
lib.singleton. Some programs (such as gamemode; see #345121), allow some
values to be repeated but not others, which can lead to unexpected
behavior when non-list values are merged like this rather than throwing
an error.
This now makes that behavior opt-in via the mergeAsList option. Setting
mergeAsList (to either true or false) without setting either
listsAsDuplicateKeys or listToValue is an error, since lists are
meaningless in this case.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
