[libvirt] [libvirt-python PATCH] generator: Skip exporting only sentinels

2014-02-20 Thread Martin Kletzander
When enum type has '_LAST' in its name, but is not the last type in that enum, it's skipped even though it shouldn't be. Currently, this is the case for only VIR_NETWORK_UPDATE_COMMAND_ADD_LAST inside an enum virNetworkUpdateCommand. Also, since _LAST types can have other enums instead of

Re: [libvirt] [libvirt-python PATCH] generator: Skip exporting only sentinels

2014-02-20 Thread Daniel P. Berrange
On Thu, Feb 20, 2014 at 05:15:08PM +0100, Martin Kletzander wrote: When enum type has '_LAST' in its name, but is not the last type in that enum, it's skipped even though it shouldn't be. Currently, this is the case for only VIR_NETWORK_UPDATE_COMMAND_ADD_LAST inside an enum

Re: [libvirt] [libvirt-python PATCH] generator: Skip exporting only sentinels

2014-02-20 Thread Martin Kletzander
On Thu, Feb 20, 2014 at 04:19:54PM +, Daniel P. Berrange wrote: On Thu, Feb 20, 2014 at 05:15:08PM +0100, Martin Kletzander wrote: When enum type has '_LAST' in its name, but is not the last type in that enum, it's skipped even though it shouldn't be. Currently, this is the case for