Comment 4 for bug 557708

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

As discussed on IRC this bug is not completely dead yet.

We to do something like:

a = dbus.Array ( [dbus.Byte(ord("z")), dbus.Byte(ord("g")) ])
b = bytearray()
for q in a : b.append(q)

buf = sqlite3.Binary(b)
and then insert that buf in the sql call. Biggest problem is that 'bytearray' is Python 2.6+ only

 - or maybe I am rambling...