Could use repoze.configuration to have a similar structure to the next one?

note that any keys could be optional as i.e. 'flag'

----------
1:
    #number: 1
    label: foo
    size: 512
    flag: boot

2:
    #number: 2
    label: bar
    size: 10
    fs_type: ext4
----------

For each item, I could replace '1:' by 'number:1'

----------
--- !item
number: 1
label: foo
size: 512
flag: boot

--- !item
number: 2
label: bar
size: 10
fs_type: ext4
----------
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to