[PATCH 1/2] Do not refer to kickstart in text rootpw spoke

Vratislav Podzimek vpodzime at redhat.com
Mon Jun 17 11:44:33 UTC 2013


This helps Initial Setup to be less confusing. Commit
0c336ad90effdc0ef7c0a32c5fefae36b33cb63a does the same for the GUI.

Related: rhbz#963968

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/tui/spokes/password.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/pyanaconda/ui/tui/spokes/password.py b/pyanaconda/ui/tui/spokes/password.py
index f8b9cf4..b4b13a2 100644
--- a/pyanaconda/ui/tui/spokes/password.py
+++ b/pyanaconda/ui/tui/spokes/password.py
@@ -45,9 +45,7 @@ class PasswordSpoke(FirstbootSpokeMixIn, EditTUIDialog):
 
     @property
     def status(self):
-        if self.data.rootpw.password and self.data.rootpw.seen:
-            return _("Password was set by kickstart.")
-        elif self.data.rootpw.password:
+        if self.data.rootpw.password:
             return _("Password is set.")
         elif self.data.rootpw.lock:
             return _("Root account is disabled.")
-- 
1.7.11.7



More information about the anaconda-patches mailing list