summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-10-09 13:53:17 -0400
committerChris Lumens <clumens@redhat.com>2012-10-09 16:06:59 -0400
commit581f5e03cb4314214b788e3a201749771ebda459 (patch)
tree996a3aa3aa14e8b148d877baaba61a2d179283d0
parent4e6c3422c047d3f6c8bc5ea271ec8805e755b569 (diff)
downloadanaconda-581f5e03cb4314214b788e3a201749771ebda459.tar.gz
anaconda-581f5e03cb4314214b788e3a201749771ebda459.tar.xz
anaconda-581f5e03cb4314214b788e3a201749771ebda459.zip
When handling a storage error, reload self.disks (#862972).
Otherwise, the resize dialog is going to be passed incorrect references.
-rw-r--r--pyanaconda/ui/gui/spokes/storage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 51a3340fa..747c5f350 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.