Markus Armbruster 4815374513 qapi: Fix to reject empty union base gracefully
Common Python pitfall: 'assert base_members' fires on [] in addition
to None.  Correct to 'assert base_members is not None'.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1489582656-31133-10-git-send-email-armbru@redhat.com>
2017-03-16 07:13:02 +01:00
..
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:01 +02:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:01 +02:00
2016-03-18 10:29:25 +01:00
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:00 +02:00
2015-05-05 18:39:00 +02:00
2015-05-05 18:39:00 +02:00
2015-05-05 18:39:00 +02:00
2015-05-05 18:39:01 +02:00
2015-05-05 18:39:01 +02:00