Re: [libvirt] [libvirt-python PATCH 23/23] coverity: resolve dead_error_condition

2015-09-26 Thread John Ferlan
On 09/24/2015 10:02 AM, Pavel Hrdina wrote: > Coverity cannot introspect the cpython code and it thinks, that if the > PyTuple_New or similar will always give the same result. In functions > where the python function is called more than once with the same > arguments, it will assume that if the

[libvirt] [libvirt-python PATCH 23/23] coverity: resolve dead_error_condition

2015-09-24 Thread Pavel Hrdina
Coverity cannot introspect the cpython code and it thinks, that if the PyTuple_New or similar will always give the same result. In functions where the python function is called more than once with the same arguments, it will assume that if the first call don't return NULL, then also the every