[libvirt] [libvirt-python PATCH] fix examples
Peter Krempa
pkrempa at redhat.com
Mon Dec 1 10:00:19 UTC 2014
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.
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141201/550d7b67/attachment-0001.sig>
More information about the libvir-list
mailing list