[master/rhel7-branch] Fix TUI error message regarding username creation. (#1058637)

Vratislav Podzimek vpodzime at redhat.com
Mon Jul 21 06:19:14 UTC 2014


On Fri, 2014-07-18 at 12:18 -0400, Samantha N. Bueno wrote:
> Information displayed was not correct. Just show the same messge as is
> displayed in the GUI.
> 
> Resolves: rhbz#1058637
> ---
>  pyanaconda/ui/tui/spokes/__init__.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/ui/tui/spokes/__init__.py b/pyanaconda/ui/tui/spokes/__init__.py
> index 4c4d4d8..878ff3d 100644
> --- a/pyanaconda/ui/tui/spokes/__init__.py
> +++ b/pyanaconda/ui/tui/spokes/__init__.py
> @@ -164,7 +164,7 @@ class EditTUIDialog(NormalTUISpoke):
>              return True
>          else:
>              print(_("You have provided an invalid username: %s\n"
> -                    "Do not use spaces or capital letters.\n") % key)
> +                    "Tip: Keep your username shorter than 32 characters and do not use spaces.\n") % key)
>              return NormalTUISpoke.input(self, entry, key)
>  
>  class OneShotEditTUIDialog(EditTUIDialog):
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic




More information about the anaconda-patches mailing list