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

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

 



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@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]

  Powered by Linux