mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Since we already assume Python >= 2.7, modernize this example to make it work also on Python 3: - use print() as function - sort the mount points using a key for sorted(), instead of a comparison function - remove extra newline escape - reident two lines according to the PEP 8 style
libguestfs is a library and set of tools for accessing and modifying virtual machine (VM) disk images. This package contains the Python bindings for libguestfs.