libguestfs: Work around a pylint error

Not sure why it's triggering a warning here, thinks the return result
is a dict()
This commit is contained in:
Cole Robinson 2013-06-13 16:12:55 -04:00
parent cbe8665948
commit 04f0113c2d

View File

@ -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