diff options
Diffstat (limited to 'storage/devicetree.py')
-rw-r--r-- | storage/devicetree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py index 2a40fc423..109db1a0c 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -758,7 +758,7 @@ class DeviceTree(object): if isinstance(dep, PartitionDevice): # collect all of the logicals on the same disk for part in self.getDevicesByInstance(PartitionDevice): - if part.isLogical and part.disk == dep.disk: + if part.partType and part.isLogical and part.disk == dep.disk: logicals.append(part) for device in self.devices.values(): |