[PATCH 1/2] Actually fix the message dropping commit.

Samantha N. Bueno sbueno+anaconda at redhat.com
Tue Nov 25 20:10:04 UTC 2014


On Tue, Nov 25, 2014 at 11:51:59AM -0500, Chris Lumens wrote:
> What's stored in self.spokes is not the name of the spoke, but the name of the
> spoke class.  Compare that.

Ack to both your patches.

> ---
>  pyanaconda/ui/gui/hubs/__init__.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
> index de454ee..1242587 100644
> --- a/pyanaconda/ui/gui/hubs/__init__.py
> +++ b/pyanaconda/ui/gui/hubs/__init__.py
> @@ -260,7 +260,7 @@ class Hub(GUIObject, common.Hub):
>              # The first argument to all codes is the name of the spoke we are
>              # acting on.  If no such spoke exists, throw the message away.
>              spoke = self._spokes.get(args[0], None)
> -            if not spoke or spoke.title not in self._spokes:
> +            if not spoke or spoke.__class__.__name__ not in self._spokes:
>                  q.task_done()
>                  continue
>  
> -- 
> 1.9.3
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list