[Sugar-devel] [PATCH sugar] Fully update the salut account information when the nick name changes #10749

Sascha Silbe sascha-ml-reply-to-2011-2 at silbe.org
Thu Mar 31 08:27:36 EDT 2011


Excerpts from Simon Schampijer's message of Wed Mar 23 15:56:54 +0100 2011:

[src/jarabe/model/neighborhood.py]
> +        params_needing_reconnect = account.UpdateParameters(
> +            {'server': server,
> +             'account': account_id,
> +             'register': True},
> +            dbus.Array([], 's'), dbus_interface=ACCOUNT)

The dictionary fits on a single line, increasing the amount of code that
fits on the screen and thus making it easier to grok the code when
viewing it on an XO.

> +        params_needing_reconnect = account.UpdateParameters(
> +            {'jid': account_id},
> +            dbus.Array([], 's'), dbus_interface=ACCOUNT)

Similarly, all parameters fit on a single line.


Acked-by: Sascha Silbe <silbe at activitycentral.com>


Thanks for the patch!

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 500 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110331/04d40f95/attachment.pgp>


More information about the Sugar-devel mailing list