diff options
author | Cole Robinson <crobinso@redhat.com> | 2013-06-13 16:12:55 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2013-06-13 16:12:55 -0400 |
commit | 04f0113c2d793f4ea647722ff0c3b3da7f6f4505 (patch) | |
tree | d790d97e72bcccfdcbd2f7d19cf0333d71579f4b /virtManager/inspection.py | |
parent | cbe866594813e9d16e6fcf4d603c62be81d816ec (diff) | |
download | virt-manager-04f0113c2d793f4ea647722ff0c3b3da7f6f4505.tar.gz |
libguestfs: Work around a pylint error
Not sure why it's triggering a warning here, thinks the return result
is a dict()
Diffstat (limited to 'virtManager/inspection.py')
-rw-r--r-- | virtManager/inspection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/inspection.py b/virtManager/inspection.py index 9b43e9ec..b3c9235c 100644 --- a/virtManager/inspection.py +++ b/virtManager/inspection.py @@ -201,7 +201,7 @@ class vmmInspection(vmmGObject): # Sort keys by length, shortest first, so that we end up # mounting the filesystems in the correct order. - mps = g.inspect_get_mountpoints(root) + mps = list(g.inspect_get_mountpoints(root)) def compare(a, b): if len(a[0]) > len(b[0]): return 1 |