[PATCH] Fix the argument list passed to the payloadInitialize thread (#1079628)

Vratislav Podzimek vpodzime at redhat.com
Mon Mar 24 14:42:47 UTC 2014


On Mon, 2014-03-24 at 10:38 -0400, David Shea wrote:
> I missed one of the calls to payloadInitialize when I added the
> instclass argument.
> ---
>  pyanaconda/ui/gui/spokes/network.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
> index 595c90b..a9e818e 100644
> --- a/pyanaconda/ui/gui/spokes/network.py
> +++ b/pyanaconda/ui/gui/spokes/network.py
> @@ -1429,7 +1429,8 @@ class NetworkStandaloneSpoke(StandaloneSpoke):
>  
>              threadMgr.wait(constants.THREAD_PAYLOAD)
>  
> -            threadMgr.add(AnacondaThread(name=constants.THREAD_PAYLOAD, target=payloadInitialize, args=(self.storage, self.data, self.payload)))
> +            threadMgr.add(AnacondaThread(name=constants.THREAD_PAYLOAD, target=payloadInitialize,
> +                args=(self.storage, self.data, self.payload, self.instclass)))
>  
>          self.network_control_box.kill_nmce(msg="leaving standalone network spoke")
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list