Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf10.py @ 251:2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
This is technically a breaking change. But no known client code uses the old
behaviour.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 07 Jul 2020 22:21:27 +0200 |
| parents | 1b4d95f60650 |
| children | 816327e178b0 |
line wrap: on
line source
# -*- coding: utf-8 -*- key1 = u"in the root namespace" key2 = u"in the root namespace -- too" tree1 = { 'key3': 0x20, 'tree2': { 'key4': u"get this as `tree1.tree2.key4'", 'key5': True } }
