Re: [PATCH 1/2] Handle format combo box not existing (#495288)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/13/2009 02:43 PM, David Cantrell wrote:
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

Umm, 'format' should actually be 'formatcb'.

Typo or fat fingers, one of the two.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux