Marco Pesenti Gritti wrote:
Hi,
it looks like I can't use the '=' character in the service published
values.
File
"/home/marco/sugar-jhbuild/source/sugar/services/presence/PresenceService.py",
line 506, in _service_resolved_cb
props = _txt_to_dict(txt)
File
"/home/marco/sugar-jhbuild/source/sugar/services/presence/PresenceService.py",
line 101, in _txt_to_dict
(key, value) = item.split('=')
Shouldn't that just be:
key, value = item.split('=', 1)
? (the second argument makes it split at most once on '=')
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar