Excerpts from Dipankar Patro's message of Wed Sep 29 19:32:22 +0200 2010:

> @@ -42,6 +43,7 @@ def set_nick(nick):
>      if not nick:
>          raise ValueError(_("You must enter a name."))
>      if not isinstance(nick, unicode):
> +        nick = re.sub(r':', '_', nick)
>          nick = unicode(nick, 'utf-8')
>      client = gconf.client_get_default()
>      client.set_string("/desktop/sugar/user/nick", nick)

This would change the user-set (and user-visible) name. We should avoid
to do that unless we have a very good reason.
Instead it should be coped with at the lower-level place that breaks,
i.e. in the code interacting with the school server. Not sure exactly
which file that is, maybe someone else can give a better hint.

Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to