Skip to content
Commit 57c8b888 authored by Phillip Smyth's avatar Phillip Smyth Committed by Jürg Billeter
Browse files

_yaml.py: Prevent ruamel from removing underscores

The ruamel parser interprets values such as 1_2_3 as numbers, ignoring
the underscores. However, for `track` we need the value as a verbatim
string. This change configures ruamel to parse all values as strings,
leaving potential conversions to node_get() with the `expected_type`
parameter.

This fixes #166 and adds tests
parent 1b664f71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment