From 404a7b546a22b323d532aaaaad164bb36dd967a6 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 26 Sep 2008 18:36:49 +0200 Subject: [PATCH] request byte_arrays from the DS --- src/sugar/datastore/dbus_helpers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sugar/datastore/dbus_helpers.py b/src/sugar/datastore/dbus_helpers.py index 8dfb41a3..19145d9c 100644 --- a/src/sugar/datastore/dbus_helpers.py +++ b/src/sugar/datastore/dbus_helpers.py @@ -77,9 +77,10 @@ def find(query, properties, reply_handler, error_handler): logging.debug('dbus_helpers.find: %r %r' % (query, properties)) if reply_handler and error_handler: return _get_data_store().find(query, properties, - reply_handler=reply_handler, error_handler=error_handler) + reply_handler=reply_handler, error_handler=error_handler, + byte_arrays=True) else: - return _get_data_store().find(query, properties) + return _get_data_store().find(query, properties, byte_arrays=True) def mount(uri, options, timeout=-1): return _get_data_store().mount(uri, options, timeout=timeout)