Looks good, Regards, Hans On 03/25/2009 02:39 PM, Joel Granados Moreno wrote:
Inside this if, "device" is the vg device that we need. --- storage/devicetree.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/storage/devicetree.py b/storage/devicetree.py index 458e5a8..b9552bd 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -1410,10 +1410,10 @@ class DeviceTree(object): elif not device.complete: # The user chose not to reinitialize. # hopefully this will ignore the vg components too. - self._removeDevice(vg) - lvm.lvm_cc_addFilterRejectRegexp(vg.name) - lvm.blacklistVG(vg.name) - for parent in vg.parents: + self._removeDevice(device) + lvm.lvm_cc_addFilterRejectRegexp(device.name) + lvm.blacklistVG(device.name) + for parent in device.parents: self._removeDevice(parent, moddisk=False) lvm.lvm_cc_addFilterRejectRegexp(parent.name)
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list