in reply to Re: python YAML output, perl Loader, which version?
in thread python YAML output, perl Loader, which version?
Here is an example of a string I created in perl that reproduces one of the problems:
$out = "Things:\n - Name: thing_1\n Sub:\n key1: value1\n + key2: very very very very very very very very very very very very + very very\n long line wrapped value2\nkey3: value3\n";
When it prints out in the log, it looks like this:
Things: - Name: thing_1 Sub: key1: value1 key2: very very very very very very very very very very very ver +y very very long line wrapped value2 key3: value3
If I paste this into yamlint it is valid, but the Loader complains:
YAML Error: Inconsistent indentation level
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: python YAML output, perl Loader, which version?
by Anonymous Monk on Apr 16, 2014 at 22:03 UTC | |
|
Re^3: python YAML output, perl Loader, which version?
by Anonymous Monk on Apr 16, 2014 at 21:59 UTC | |
by mgwmgw (Acolyte) on Apr 16, 2014 at 22:49 UTC | |
by Anonymous Monk on Apr 16, 2014 at 23:03 UTC |