[PATCH 2/4] Use only self.data to determine completeness in User spoke

Martin Sivak msivak at redhat.com
Thu Mar 14 13:47:34 UTC 2013


---
 pyanaconda/ui/gui/spokes/user.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/user.py b/pyanaconda/ui/gui/spokes/user.py
index c831c4c..d0b67cd 100644
--- a/pyanaconda/ui/gui/spokes/user.py
+++ b/pyanaconda/ui/gui/spokes/user.py
@@ -260,7 +260,7 @@ class UserSpoke(FirstbootSpokeMixIn, NormalSpoke):
 
     @property
     def completed(self):
-        return self._user in self.data.user.userList
+        return len(self.data.user.userList) > 0
 
     def _passwordDisabler(self, editable = None, data = None):
         """Called by Gtk callback when the "Use password" check
-- 
1.7.11.7



More information about the anaconda-patches mailing list