--- iw/partition_gui.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 831c04d..cea465d 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -980,6 +980,8 @@ class PartitionWindow(InstallWindow): devices. This will need some work when that time comes. """ device = self.tree.getCurrentDevice() + if not device: + return if device.format.type == "disklabel": if doDeleteDependentDevices(self.intf, self.storage, -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list