Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/reference-style.yml @ 484:0259bd521729
Avoid repeaded string concatenations in .expand_variable(): use a list of string parts and proper indexes into the source string
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 17 Dec 2021 15:55:51 +0100 |
| parents | 15a1d5fd0aa1 |
| children |
line wrap: on
line source
# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*- # # For testing "references" # %YAML 1.1 --- wsgi: profiler: # Replace the params dict with the "debugger" params: !!str '{{ref:#wsgi.debugger}}' testref: here: '{{ref:#wsgi.profiler}}' expand-ref-value: key0: '{{testref.here.params.params.evalex}}'
