We remove the partitions at the end of clearpart function when we traverse the clearpart list and "Destroy" each partition. --- storage/partitioning.py | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/storage/partitioning.py b/storage/partitioning.py index fdaf360..95d6ec2 100644 --- a/storage/partitioning.py +++ b/storage/partitioning.py @@ -318,9 +318,6 @@ def clearPartitions(storage): storage.destroyDevice(leaf) devices.remove(leaf) - # FIXME: this should be taken care of by DeviceTree.removeDevice - # or Storage.destroyDevice - part.partedPartition.disk.removePartition(part.partedPartition) log.debug("partitions: %s" % [p.getDeviceNodeName() for p in part.partedPartition.disk.partitions]) disk_name = os.path.basename(part.partedPartition.disk.device.path) if disk_name not in disks: -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list