Fix for dbus 0.61

This commit is contained in:
Marco Pesenti Gritti 2006-07-28 21:45:12 +02:00
parent 86bd6f50f0
commit 2647b96433

View File

@ -612,7 +612,7 @@ class PresenceService(object):
# Add properties; ensure they are converted to ByteArray types # Add properties; ensure they are converted to ByteArray types
# because python sometimes can't figure that out # because python sometimes can't figure that out
info = dbus.Array([]) info = dbus.Array([], signature="ab")
for k, v in properties.items(): for k, v in properties.items():
info.append(dbus.types.ByteArray("%s=%s" % (k, v))) info.append(dbus.types.ByteArray("%s=%s" % (k, v)))