[PATCH 2/3] Use same method as gui spoke for completeness

Jesse Keating jkeating at redhat.com
Tue Sep 18 20:08:54 UTC 2012


The gui spoke changed it's completeness method after this spoke was
written.  This change syncs it back up and makes things work for
kickstart installs.
---
 pyanaconda/ui/tui/spokes/storage.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py
index d1b85c3..b74096f 100644
--- a/pyanaconda/ui/tui/spokes/storage.py
+++ b/pyanaconda/ui/tui/spokes/storage.py
@@ -101,7 +101,10 @@ class StorageSpoke(NormalTUISpoke):
 
     @property
     def completed(self):
-        return bool(self.selected_disks and not self.errors)
+        from pyanaconda.threads import threadMgr
+        return (threadMgr.get("AnaCheckStorageThread") is None and
+                self.storage.rootDevice is not None and
+                not self.errors)
 
     @property
     def status(self):
-- 
1.7.11.4



More information about the anaconda-patches mailing list