[PATCH 2/4] Fix logic error that causes us to ignore disks in exclusiveDisks.
David Lehman
dlehman at redhat.com
Fri Apr 5 17:11:06 UTC 2013
---
blivet/devicetree.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index 97adb7a..2fec264 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -1874,7 +1874,7 @@ class DeviceTree(object):
# hide any subtrees that begin with an ignored disk
for disk in [d for d in self._devices if d.isDisk]:
if ((self.ignoredDisks and disk.name in self.ignoredDisks) or
- (self.exclusiveDisks and disk.name not in self.ignoredDisks)):
+ (self.exclusiveDisks and disk.name not in self.exclusiveDisks)):
self.hide(disk)
self.teardownAll()
--
1.8.1.4
More information about the anaconda-patches
mailing list