On 09/16/11 11:30, Chris Lumens wrote:
diff --git a/partedUtils.py b/partedUtils.py
index 147c2f8..cf663c3 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -696,6 +696,7 @@ class DiskSet:
testList.append(disk)
driveList = filter(lambda x: x not in testList, self.driveList())
+ driveList = filter(lambda x: x in DiskSet.exclusiveDisks, driveList)
DiskSet.mdList.extend(raid.startAllRaid(driveList))
def stopMdRaid(self):
You probably want to first check that exclusiveDisks is not empty.
Whoops, right.
if DiskSet.exclusiveDisks != []:
driveList = filter(lambda x: x in DiskSet.exclusiveDisks, driveList)
--
David Cantrell <dcantrell@xxxxxxxxxx>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list