zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #02775
Re: [Merge] lp:~manishsinha/zeitgeist/fix-691167 into lp:zeitgeist
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.
Follow ups
References