Fix issue 2906

reviewable/pr18780/r1
Ton Kersten 12 years ago committed by Michael DeHaan
parent eb9a598363
commit 438ab750c3

@ -626,6 +626,7 @@ class LinuxHardware(Hardware):
d['host'] = m.group(1)
d['holders'] = []
if os.path.isdir(sysdir + "/holders"):
for folder in os.listdir(sysdir + "/holders"):
if not folder.startswith("dm-"):
continue

Loading…
Cancel
Save