Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf21.yml @ 111:d51a18e5b0e3
Reimplement configmix.safe_merge() do to a deepcopy of all source configurations when merging.
configmix.safe_merge() does now a deepcopy of all source
configurations when merging. Changes in configuration instances after
will not be reflected in the merged configuration any more.
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sat, 24 Mar 2018 18:47:54 +0100 |
| parents | 057d87d030f1 |
| children | af371f9c016d |
line wrap: on
line source
# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*- # # To be merged into conf20.yml # %YAML 1.1 --- appdir: '{{OS:cwd}}' _tmpdir: '{{appdir}}/tmp' tmpdir: '{{_tmpdir|abspath|normpath}}' db: user: name: 'the_database_user' pwd: 'the-database-password' catalog: 'my_database_catalog' locinfo: ro: hostname: anotherhost test: List: not a list any more Str: - 0 - 1 - 2
