nova/nova/virt/disk
Lee Yarwood e98935f705 guestfs: With libguestfs >= v1.41.1 decode returned bytes to string
libguestfs >= v1.41.1 and commit 0ee02e0117527 changed the return type
of read_file from string to bytes.

0ee02e0117

As we don't check the version of libguestfs installed this change
handles both the original behaviour where a string is returned and the
newer behaviour by decoding any returned bytes to a string.

Closes-Bug: #1882421
Change-Id: I1c12b2903c1e5bf3a88394493456ad33233f3cd8
(cherry picked from commit 606d588e3e)
2021-04-24 15:55:18 +00:00
..
mount Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
vfs guestfs: With libguestfs >= v1.41.1 decode returned bytes to string 2021-04-24 15:55:18 +00:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
api.py guestfs: With libguestfs >= v1.41.1 decode returned bytes to string 2021-04-24 15:55:18 +00:00