Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf21.yml @ 120:ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Added unittests for proper Unicode handling.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 29 Mar 2018 12:38:52 +0200 |
| 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
