diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-04-13 14:34:04 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-04-13 15:40:32 -1000 |
commit | fb36d999f378c7685516d82a19a33c383e649599 (patch) | |
tree | d3d3a68e85049dc68094d30d7066b459e38f33fb /iw | |
parent | 26c7666e552f743fb0740ef29ae385660e3b1295 (diff) | |
download | anaconda-fb36d999f378c7685516d82a19a33c383e649599.tar.gz anaconda-fb36d999f378c7685516d82a19a33c383e649599.tar.xz anaconda-fb36d999f378c7685516d82a19a33c383e649599.zip |
Handle format combo box not existing (#495288)
We may not have formatcb in all cases, don't assume it exists.
Diffstat (limited to 'iw')
-rw-r--r-- | 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 0b45e5fc1..e505c0276 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 formatcb 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 |