[PATCH 2/3] Update all spokes on a Hub when spoke is exited

Chris Lumens clumens at redhat.com
Tue Feb 12 21:14:28 UTC 2013


> diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
> index 39e8705..1379315 100644
> --- a/pyanaconda/ui/gui/hubs/__init__.py
> +++ b/pyanaconda/ui/gui/hubs/__init__.py
> @@ -376,7 +376,8 @@ class Hub(GUIObject, common.Hub):
>  
>          # Now update the selector with the current status and completeness.
>          if not spoke.indirect:
> -            self._updateCompleteness(spoke)
> +            for sp in self._spokes.itervalues():
> +                self._updateCompleteness(sp)
>  
>          # And then if that spoke wants us to jump straight to another one,
>          # handle that now.

What's the need to do this?

- Chris


More information about the anaconda-patches mailing list