[PATCH 4/4] New purely textual text interface
Brian C. Lane
bcl at redhat.com
Sun Jan 20 03:52:50 UTC 2013
On Tue, Jan 15, 2013 at 02:32:14PM +0100, Vratislav Podzimek wrote:
> Since Anaconda supports purely textual (no curses-based) interface,
> we need to provide it too.
>
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
> meh/ui/text.py | 156 ++++++++++++++++++++++++++++++++++++--------------------
> python-meh.spec | 6 +--
> 2 files changed, 104 insertions(+), 58 deletions(-)
>
> diff --git a/meh/ui/text.py b/meh/ui/text.py
> index 3cdde37..28e3b7f 100644
> --- a/meh/ui/text.py
> +++ b/meh/ui/text.py
> @@ -1,4 +1,4 @@
> -# Copyright (C) 2009 Red Hat, Inc.
> +# Copyright (C) 2009, 2012 Red Hat, Inc.
It is now 2013 :)
> + # no answer means accepting the default (self._no_answer) and the answer
> + # is case insensitive
> + answer = answer.lower() or self._no_answer
Does .lower work ok with languages other than english?
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130119/8f8b2dfa/attachment.sig>
More information about the anaconda-patches
mailing list