view tests/data/conf10.py @ 460:d22985d6806e

Proper boolean context for jailed configurations: __bool__()/__nonzero__()
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 15 Dec 2021 09:10:01 +0100
parents 9dc9cef1b9cd
children
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,
        'key6': u"off",
        'key7': [],
        'key8': [
            u"val1",
            u"val2",
            u"{{key1}}"
        ],
        'key9': {}
    }
}