view tests/data/conf1.ini @ 104:d9f9a06e0c49

Make a better error message for "TypeError" exceptions when looking up variables. Otherwise -- if a key exists but if it's not a dict as expected a TypeError is throws that nobody does understand.
author Franz Glasner <f.glasner@feldmann-mg.com>
date Fri, 23 Mar 2018 17:25:21 +0100
parents a0ed95975980
children ba5970a2dcef
line wrap: on
line source

# -*- coding: utf-8 -*-

[config]
key1 = the value
key2 = :int:2
key3 = :float:5.7
key4 = :bool:yes
key5 = :bool:off
key6 = :int:0o377