Modify

Ticket #285 (new defect)

Opened 18 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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from xi. Next status will be 'new'
The owner will be changed from xi to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.