[master/rhel7-branch] Fix TUI error message regarding username creation. (#1058637)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Fri Jul 18 16:18:37 UTC 2014
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):
--
1.9.3
More information about the anaconda-patches
mailing list