We may not have formatcb in all cases, don't assume it exists. --- iw/partition_ui_helpers_gui.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py index 0b45e5f..c8cbdfd 100644 --- a/iw/partition_ui_helpers_gui.py +++ b/iw/partition_ui_helpers_gui.py @@ -331,7 +331,7 @@ def createPreExistFSOptionSection(origrequest, maintable, row, mountCombo, formatcb = None fstypeCombo = None - if not formatcb.get_active() and not origfs.migrate: + if format and not formatcb.get_active() and not origfs.migrate: mountCombo.set_data("prevmountable", origfs.mountable) # this gets added to the table a bit later on -- 1.6.2.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list