Re: [libvirt-python PATCH] fix examples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
  examples/dhcpleases.py | 30 ++++++++++++++++++++----------
  examples/event-test.py |  4 ++--
  2 files changed, 22 insertions(+), 12 deletions(-)


Peter



--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]