Modify ↓
Ticket #285 (new defect)
Opened 7 months ago
List items printed as dict
| Reported by: | ronald.kortekaas@… | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | pyyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description
There is a mistake in the dump for a list of dicts:
For example a yaml file:
treeroot:
- node: 'node'
branch:
- branch-2:
- node-1: 'node-1'
node-2: 'node-2'
After a yaml.load yaml.dump I have the following yaml file:
treeroot:
- branch:
- branch-2:
- {node-1: node-1, node-2: node-2}
node: node
Attachments
Note: See
TracTickets for help on using
tickets.
