[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 9/9] Make sure the device has a diskType before attempting to check what it is.
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH 9/9] Make sure the device has a diskType before attempting to check what it is.
- Date: Wed, 11 Mar 2009 16:32:29 -0400
---
storage/devicetree.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/storage/devicetree.py b/storage/devicetree.py
index e974717..45601a6 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -751,7 +751,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():
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]