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

Fabiano Fidêncio fidencio at redhat.com
Mon May 20 08:31:46 UTC 2019


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




More information about the libvir-list mailing list