[PATCH master, f18-branch] Network spoke: fix NMClient signal callback arguments (#885488)

Samantha N. Bueno sbueno at redhat.com
Mon Dec 10 13:06:06 UTC 2012


On Mon, Dec 10, 2012 at 01:25:05PM +0100, Radek Vykydal wrote:
> ---
>  pyanaconda/ui/gui/spokes/network.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
> index e8783ce..31145e2 100644
> --- a/pyanaconda/ui/gui/spokes/network.py
> +++ b/pyanaconda/ui/gui/spokes/network.py
> @@ -408,10 +408,10 @@ class NetworkControlBox():
>              self.client.add_and_activate_connection(None, device, ap_obj_path,
>                                                      None, None)
>  
> -    def on_device_added(self, device, *args):
> +    def on_device_added(self, client, device, *args):
>          self.add_device(device)
>  
> -    def on_device_removed(self, device, *args):
> +    def on_device_removed(self, client, device, *args):
>          self.remove_device(device)
>  
>      def on_edit_connection(self, *args):
> -- 

Ack.

Samantha


More information about the anaconda-patches mailing list