Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf22.ini @ 412:816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
This is done be refactoring Configuration and putting the coercing
methods into a common mixin.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 20 Nov 2021 13:52:08 +0100 |
| parents | 7e6ec99d5ff5 |
| children | 5a88c514d4e0 |
line wrap: on
line source
[config] tmpdir = {{_tmpdir}}\2 [config.db.user] name = the_database_user_2 __doc2 = Overwriting a comment pwd=the-database-password-2 [config.db.locinfo.ro] hostname = 3rd-host
