Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf10.ini @ 220:2034da70f8fd
Simplify the implementation of configmix.load() and .safe_load():
this also prepare for the coming implementation of a "last" user configuration
(analogout to "defaults" as the first configuration).
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 09 May 2019 09:27:23 +0200 |
| parents | 1b4d95f60650 |
| children | 816327e178b0 |
line wrap: on
line source
# -*- coding: utf-8 -*- [DEFAULT] replvalue1 = in the root namespace -- too [config] key1 = in the root namespace key2 = %(replvalue1)s [config.tree1] key3 = :int:0x20 [config.tree1.tree2] key4 = get this as `tree1.tree2.key4' key5 = :bool:TRUE
