[PATCH 1/3] When handling a storage error, reload self.disks (#862972).
Chris Lumens
clumens at redhat.com
Tue Oct 9 19:49:54 UTC 2012
Otherwise, the resize dialog is going to be passed incorrect references.
---
pyanaconda/ui/gui/spokes/storage.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 51a3340..747c5f3 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -388,6 +388,7 @@ class StorageSpoke(NormalSpoke, StorageChecker):
self.storage.config.update(self.data)
self.storage.autoPartType = self.data.autopart.type
self.storage.reset()
+ self.disks = getDisks(self.storage.devicetree)
else:
if self.autopart:
# this was already run as part of doAutoPartition. dumb.
--
1.7.11.2
More information about the anaconda-patches
mailing list