mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
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:
parent
cbe8665948
commit
04f0113c2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user