Re: [PATCH] Add DCB option to text mode FCoE setup (#513011)

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

 



Hi,

On 11/27/2009 01:52 AM, Jeremy Katz wrote:
On Thu, Nov 26, 2009 at 6:20 AM, Hans de Goede<hdegoede@xxxxxxxxxx>  wrote:
@@ -232,7 +233,15 @@ class PartitionTypeWindow:
-        self.anaconda.id.storage.fcoe.addSan(nic)
+        dcb = entries[1].strip().lower()
+        if dcb != _("yes").lower() and dcb != _("no").lower():

Expecting lower to work like this breaks for some languages (eg,
Icelandic).  If this is an entry which should be either yes or no, we
really should have it be as a radio button/checkbox rather than an
entry


Ugh, can you point to some example code in the textw interface
where a checkbox is used in some simple way, or do need to write
a custom screen for this ?

Regards,

Hans

_______________________________________________
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