libxl/gentypes.py: generate empty map for None field in keyed-union
authorWei Liu <wei.liu2@citrix.com>
Thu, 10 Apr 2014 15:18:00 +0000 (16:18 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 16 Apr 2014 16:06:45 +0000 (17:06 +0100)
commit5c77003b524af15a4a8a9d33ba0f2786f3a31c2b
tree76f43a5c9d8e7cb62eeb2eed4aecc5988b1a819f
parentb955e8c5b7ceab7a6dde006f50b8dc90c5decf26
libxl/gentypes.py: generate empty map for None field in keyed-union

Without this the generated JSON is malformed.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/gentypes.py