[libvirt] [PATCH] python: Fix IOErrorReasonCallback bindings
Cole Robinson
crobinso at redhat.com
Wed Jul 14 14:52:46 UTC 2010
On 07/13/2010 10:54 PM, Dave Allan wrote:
> On Tue, Jul 13, 2010 at 06:09:31PM -0400, Cole Robinson wrote:
>> A copy and paste error was causing us to dispatch the incorrect
>> routine. Spotted by Dan Kenigsberg.
>> ---
>> python/libvirt-override.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/python/libvirt-override.c b/python/libvirt-override.c
>> index ad55940..54a84c2 100644
>> --- a/python/libvirt-override.c
>> +++ b/python/libvirt-override.c
>> @@ -3258,7 +3258,7 @@ libvirt_virConnectDomainEventIOErrorReasonCallback(virConnectPtr conn ATTRIBUTE_
>>
>> /* Call the Callback Dispatcher */
>> pyobj_ret = PyObject_CallMethod(pyobj_conn,
>> - (char*)"dispatchDomainEventIOErrorCallback",
>> + (char*)"dispatchDomainEventIOErrorReasonCallback",
>> (char*)"OssisO",
>> pyobj_dom,
>> srcPath, devAlias, action, reason,
>> --
>> 1.6.6.1
>>
>> --
>> libvir-list mailing list
>> libvir-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvir-list
>
> ACK
>
> Dave
Thanks, pushed now.
- Cole
More information about the libvir-list
mailing list