summaryrefslogtreecommitdiff
path: root/virtManager/inspection.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2013-06-13 16:12:55 -0400
committerCole Robinson <crobinso@redhat.com>2013-06-13 16:12:55 -0400
commit04f0113c2d793f4ea647722ff0c3b3da7f6f4505 (patch)
treed790d97e72bcccfdcbd2f7d19cf0333d71579f4b /virtManager/inspection.py
parentcbe866594813e9d16e6fcf4d603c62be81d816ec (diff)
downloadvirt-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.py2
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