[sugar] Published values and '='

Marco Pesenti Gritti mpg
Fri Oct 13 07:59:36 EDT 2006


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('=')
ValueError: too many values to unpack

Should the presence service take care of escaping it?

Marco



More information about the Sugar-devel mailing list