[libvirt] [libvirt-python PATCH] fix examples
Pavel Hrdina
phrdina at redhat.com
Mon Dec 1 16:34:26 UTC 2014
On 12/01/2014 11:00 AM, Peter Krempa wrote:
>
> Mention which example you are fixing.
>
> On 11/28/14 09:57, Pavel Hrdina wrote:
>> The dhcpleases example had an old usage of print function. The formating
>> of leases record was also wrong.
>>
>
> I presume you want to make it work in python3. It might be worth
> mentioning that explicitly.
I'll update the commit message and push it, thanks.
Pavel
>
>> The event-test example had an old usage of exceptions.
>>
>> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>> ---
>> examples/dhcpleases.py | 30 ++++++++++++++++++++----------
>> examples/event-test.py | 4 ++--
>> 2 files changed, 22 insertions(+), 12 deletions(-)
>>
>
> Peter
>
>
More information about the libvir-list
mailing list