summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-14 09:30:48 -0400
committerChris Lumens <clumens@redhat.com>2009-04-14 09:30:48 -0400
commit582edad25b42cce5402f855ab38066e7e20fa8a7 (patch)
treee3ffbef5e6525251f2995475e321beee86858834 /iw
parentb460bd9ecd3571dec32ca53f74c4003b955190b6 (diff)
downloadanaconda-582edad25b42cce5402f855ab38066e7e20fa8a7.tar.gz
anaconda-582edad25b42cce5402f855ab38066e7e20fa8a7.tar.xz
anaconda-582edad25b42cce5402f855ab38066e7e20fa8a7.zip
We don't always have a formatcb either (#495665).
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_ui_helpers_gui.py3
1 files changed, 2 insertions, 1 deletions
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)