[master][PATCH] Use proper data for autopart type initialization
Vratislav Podzimek
vpodzime at redhat.com
Fri May 23 12:08:22 UTC 2014
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/ui/tui/spokes/storage.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py
index b0344c8..55ab2c9 100644
--- a/pyanaconda/ui/tui/spokes/storage.py
+++ b/pyanaconda/ui/tui/spokes/storage.py
@@ -380,7 +380,7 @@ class StorageSpoke(NormalTUISpoke):
self.data.clearpart.type = CLEARPART_TYPE_ALL
self.data.clearpart.initAll = False
self.storage.config.update(self.data)
- self.storage.autoPartType = self.data.clearpart.type
+ self.storage.autoPartType = self.data.autopart.type
self.storage.reset()
# now set ksdata back to the user's specified config
applyDiskSelection(self.storage, self.data, self.selected_disks)
--
1.9.0
More information about the anaconda-patches
mailing list