[libvirt] [glib PATCH 00/16] Update libvirt-glib python examples

Michal Privoznik mprivozn at redhat.com
Mon May 20 14:00:09 UTC 2019


On 5/20/19 10:31 AM, Fabiano Fidêncio wrote:
> This series contains a bunch of trivial fixes for our python examples,
> including:
> - Not using ";" at the end of the lines;
> - Ensuring that the right version of the libraries are imported;
> - Change the scripts so they're python3 compatible
> - Update the sha-bang lines to use python3
> 
> Fabiano Fidêncio (16):
>    config-demo: Don't use ";" in the end of lines
>    config-demo: Ensure the right LibvirtGConfig version gets loaded
>    config-demo: Use print() in a py3 compatible way
>    config-demo: Use octal when setting mode
>    config-demo: Change she-bang line to use python3
>    conn-test: Don't use ";" in the end of lines
>    conn-test: Ensure the right versions of LibvirtGObject and Gtk get
>      loaded
>    conn-test: Use print() in a py3 compatible way
>    conn-test: Handle exceptions in a py3 compatible way
>    conn-test: Change sha-bang line to use python3
>    event-test: LibvirtGLib.init() takes (at maximum) 1 argment
>    event-test: Don't use ";" in the end of lines
>    event-test: Ensure the right versions of LibvirtGLib and Gtk get
>      loaded
>    event-test: Use print() in a py3 compatible way
>    event-test: Handle exceptions in a py3 compatible way
>    event-test: Change sha-bang line to use python3
> 
>   examples/config-demo.py | 15 +++++++++------
>   examples/conn-test.py   | 20 ++++++++++++--------
>   examples/event-test.py  | 28 ++++++++++++++++------------
>   3 files changed, 37 insertions(+), 26 deletions(-)
> 

ACK

Michal




More information about the libvir-list mailing list