[master][PATCH] Use proper data for autopart type initialization

David Lehman dlehman at redhat.com
Fri May 23 14:53:47 UTC 2014


On 05/23/2014 07:08 AM, Vratislav Podzimek wrote:
> 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)
>

Good catch. Ack.


More information about the anaconda-patches mailing list