Hi, All 3 look good to me. Regards, Hans On 08/28/2009 01:06 AM, David Lehman wrote:
--- storage/devicetree.py | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/storage/devicetree.py b/storage/devicetree.py index 673ebe3..9c3722b 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -1297,18 +1297,18 @@ class DeviceTree(object): device=device.path, exists=not initlabel) except InvalidDiskLabelError: - # if we have a cb function use it. else we ignore the device. - if initcb is not None and initcb(): - format = getFormat("disklabel", - device=device.path, - exists=False) - else: - self._removeDevice(device) - if isinstance(device, DMRaidArrayDevice): - # We should ignore the dmraid members as well - self.addIgnoredDisk(device.raidSet.name) - self.addIgnoredDisk(device.name) - return + # if we have a cb function use it. else we ignore the device. + if initcb is not None and initcb(): + format = getFormat("disklabel", + device=device.path, + exists=False) + else: + self._removeDevice(device) + if isinstance(device, DMRaidArrayDevice): + # We should ignore the dmraid members as well + self.addIgnoredDisk(device.raidSet.name) + self.addIgnoredDisk(device.name) + return else: if not format.exists: # if we just initialized a disklabel we should schedule
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list