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

Fabiano Fidêncio posted 16 patches 4 years, 11 months ago
Failed in applying to current master (apply log)
examples/config-demo.py | 15 +++++++++------
examples/conn-test.py   | 20 ++++++++++++--------
examples/event-test.py  | 28 ++++++++++++++++------------
3 files changed, 37 insertions(+), 26 deletions(-)
[libvirt] [glib PATCH 00/16] Update libvirt-glib python examples
Posted by Fabiano Fidêncio 4 years, 11 months ago
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(-)

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [glib PATCH 00/16] Update libvirt-glib python examples
Posted by Michal Privoznik 4 years, 11 months ago
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

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