[sugar] [PATCH] services/presence: Stop using deprecated keyword argument named_service

Dan Williams dcbw
Sat May 19 11:50:43 EDT 2007


On Wed, 2007-05-16 at 11:32 +0100, Simon McVittie wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> - ---
>  services/presence/psutils.py |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Certainly

> diff --git a/services/presence/psutils.py b/services/presence/psutils.py
> index 73a5315..4d6ae3d 100644
> - --- a/services/presence/psutils.py
> +++ b/services/presence/psutils.py
> @@ -118,13 +118,13 @@ class IP4AddressMonitor(gobject.GObject):
>          match = sys_bus.add_signal_receiver(self._nm_device_no_longer_active_cb,
>                                              signal_name="DeviceNoLongerActive",
>                                              dbus_interface=NM_IFACE,
> - -                                            named_service=NM_SERVICE)
> +                                            bus_name=NM_SERVICE)
>          self._matches.append(match)
>  
>          match = sys_bus.add_signal_receiver(self._nm_state_change_cb,
>                                              signal_name="StateChange",
>                                              dbus_interface=NM_IFACE,
> - -                                            named_service=NM_SERVICE)
> +                                            bus_name=NM_SERVICE)
>          self._matches.append(match)
>  
>          state = self._nm_obj.state()
> - -- 
> 1.5.2-rc2.GIT
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
> 
> iD8DBQFGSt2yWSc8zVUw7HYRAlxzAJ4xZjdwt/euP5a98XHCfuVm2YWQ4QCgrep1
> YKkHcTHnewZ7ZvUzA1nH2Wg=
> =81H8
> -----END PGP SIGNATURE-----
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar




More information about the Sugar-devel mailing list