If we're dealing with a non-migratable filesystem, othercb and othercombo will be None here. --- iw/partition_ui_helpers_gui.py | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py index 4179ab9..87d816f 100644 --- a/iw/partition_ui_helpers_gui.py +++ b/iw/partition_ui_helpers_gui.py @@ -252,8 +252,12 @@ def formatOptionResizeCB(widget, resizesb): def formatMigrateOptionCB(widget, data): (combowidget, mntptcombo, ofstype, lukscb, othercombo, othercb) = data combowidget.set_sensitive(widget.get_active()) - othercb.set_sensitive(not widget.get_active()) - othercombo.set_sensitive(not widget.get_active()) + + if othercb is not None: + othercb.set_sensitive(not widget.get_active()) + + if othercombo is not None: + othercombo.set_sensitive(not widget.get_active()) if lukscb is not None: lukscb.set_data("formatstate", widget.get_active()) -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list