[PATCH 5/7] Make sure Storage is initialized before refreshing the custom spoke.

David Lehman dlehman at redhat.com
Wed Dec 5 23:45:32 UTC 2012


Related: rhbz#884270
---
 pyanaconda/ui/gui/spokes/custom.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index f53d8c7..a76444c 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -638,9 +638,10 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
 
         # Make sure the storage spoke execute method has finished before we
         # copy the storage instance.
-        t = threadMgr.get("AnaExecuteStorageThread")
-        if t:
-            t.join()
+        for thread_name in ["AnaExecuteStorageThread", "AnaStorageThread"]:
+            t = threadMgr.get(thread_name)
+            if t:
+                t.join()
 
         self.passphrase = self.data.autopart.passphrase
         self._reset_storage()
-- 
1.7.7.6



More information about the anaconda-patches mailing list