mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +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