While reading the python dbus docs [0] again I found out about the 
"byte_array=True", this will solve all our problems immediately.
By using this switch in the "@dbus.service.method" and "@dbus.service.signal" 
decorators, "ay" is not exposed as dbus.Array of dbus.Bytes anymore, but as 
dbus.ByteArray.

Which gives us the simple mapping  dbus.ByteArray <-> str

[0] 
http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#return-values-and-the-byte-arrays-and-utf8-strings-options
-- 
https://code.launchpad.net/~manishsinha/zeitgeist/fix-691167/+merge/43948
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~manishsinha/zeitgeist/fix-691167 into lp:zeitgeist.

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to