Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit d2d26fdabd2b2ac27bf86d37f6b0beca865718ac

Fix D-Bus marshalling of (byte) strings.

D-Bus transmits Python (byte) strings as D-Bus (character) strings by default,
so we need to explicitly convert them to D-Bus ByteArrays.
  
278278 options)
279279 #logging.debug('object_ids=%r', object_ids)
280280 property_names = options.pop('metadata', None)
281 if property_names:
282 for entry in entries:
283 for name in entry.keys():
284 if name not in property_names:
285 del entry[name]
281 for entry in entries:
282 for name in entry.keys():
283 if property_names and name not in property_names:
284 del entry[name]
285 elif isinstance(entry[name], str):
286 entry[name] = dbus.ByteArray(entry[name])
286287
287288 return entries, total_count
288289