Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2008-09-26 16:36:49 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-09-26 16:36:49 (GMT)
commit404a7b546a22b323d532aaaaad164bb36dd967a6 (patch)
tree08633ec84d4cffdf7f07a48d8a78490a62495b3a /src/sugar
parentafb63981fafb74419e1c19663129045edc148002 (diff)
request byte_arrays from the DS
Diffstat (limited to 'src/sugar')
-rw-r--r--src/sugar/datastore/dbus_helpers.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sugar/datastore/dbus_helpers.py b/src/sugar/datastore/dbus_helpers.py
index 8dfb41a..19145d9 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)