Mercurial > hgrepos > Python > libs > ConfigMix
comparison tests/data/conf10.ini @ 97:1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sun, 18 Mar 2018 19:15:01 +0100 |
| parents | |
| children | 816327e178b0 |
comparison
equal
deleted
inserted
replaced
| 96:778c3bb1fb41 | 97:1b4d95f60650 |
|---|---|
| 1 # -*- coding: utf-8 -*- | |
| 2 | |
| 3 [DEFAULT] | |
| 4 replvalue1 = in the root namespace -- too | |
| 5 | |
| 6 [config] | |
| 7 key1 = in the root namespace | |
| 8 key2 = %(replvalue1)s | |
| 9 | |
| 10 [config.tree1] | |
| 11 key3 = :int:0x20 | |
| 12 | |
| 13 [config.tree1.tree2] | |
| 14 key4 = get this as `tree1.tree2.key4' | |
| 15 key5 = :bool:TRUE |
