commit | f660dc6a2e97756596b2e79ce6127a3034f2308b | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Jul 08 17:11:58 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jul 26 22:01:31 2013 +0200 |
tree | 2fce1bb3445ea9a74b60715ccf00e213bdbd0f0d | |
parent | 29c4e2b50d95f4a15c3dd62b39f3402f05a34907 [diff] |
Implement qdict_flatten() qdict_flatten(): For each nested QDict with key x, all fields with key y are moved to this QDict and their key is renamed to "x.y". This operation is applied recursively for nested QDicts. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>