[PATCH 1/3] When handling a storage error, reload self.disks (#862972).

David Lehman dlehman at redhat.com
Tue Oct 9 20:03:24 UTC 2012


All three look fine to me.

On Tue, 2012-10-09 at 15:49 -0400, Chris Lumens wrote:
> 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.




More information about the anaconda-patches mailing list