From 582edad25b42cce5402f855ab38066e7e20fa8a7 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 14 Apr 2009 09:30:48 -0400 Subject: We don't always have a formatcb either (#495665). --- iw/partition_ui_helpers_gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iw') diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py index e505c0276..edc43222d 100644 --- a/iw/partition_ui_helpers_gui.py +++ b/iw/partition_ui_helpers_gui.py @@ -398,7 +398,8 @@ def createPreExistFSOptionSection(origrequest, maintable, row, mountCombo, resizeOptionCB(resizecb, resizesb) row = row + 1 - formatcb.connect("toggled", formatOptionResizeCB, (resizesb, origfs)) + if formatcb: + formatcb.connect("toggled", formatOptionResizeCB, (resizesb, origfs)) if luksdev: lukscb.set_active(1) -- cgit