Mercurial > libervia-backend
changeset 2083:7999d5299ddc
bridge(D-Bus): minotr argument name fix
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 02 Oct 2016 15:51:42 +0200 |
parents | e8cb9cc09485 |
children | e1015a5df6f5 |
files | frontends/src/bridge/DBus.py src/bridge/DBus.py |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py Sun Oct 02 13:46:29 2016 +0200 +++ b/frontends/src/bridge/DBus.py Sun Oct 02 15:51:42 2016 +0200 @@ -563,7 +563,7 @@ kwargs['error_handler'] = error_handler return self.db_core_iface.profileIsSessionStarted(profile_key, **kwargs) - def profileSetDefault(self, arg_0, callback=None, errback=None): + def profileSetDefault(self, profile, callback=None, errback=None): if callback is None: error_handler = None else: @@ -575,7 +575,7 @@ kwargs['timeout'] = const_TIMEOUT kwargs['reply_handler'] = callback kwargs['error_handler'] = error_handler - return self.db_core_iface.profileSetDefault(arg_0, **kwargs) + return self.db_core_iface.profileSetDefault(profile, **kwargs) def profileStartSession(self, password='', profile_key="@DEFAULT@", callback=None, errback=None): if callback is None:
--- a/src/bridge/DBus.py Sun Oct 02 13:46:29 2016 +0200 +++ b/src/bridge/DBus.py Sun Oct 02 15:51:42 2016 +0200 @@ -411,8 +411,8 @@ @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, in_signature='s', out_signature='', async_callbacks=None) - def profileSetDefault(self, arg_0): - return self._callback("profileSetDefault", unicode(arg_0)) + def profileSetDefault(self, profile): + return self._callback("profileSetDefault", unicode(profile)) @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, in_signature='ss', out_signature='b',