Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/datastore/dbus_helpers.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-27 09:36:05 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-27 09:36:05 (GMT)
commite894bb54a67431f0aba5cd7704365701639af291 (patch)
tree8c59c1b8a51ab3f42449cf00b2f7bc85383341c3 /sugar/datastore/dbus_helpers.py
parent4f748dba9bb1b401d4e3422799c2d681c90ce0a9 (diff)
Added mount() and mounts() methods to datastore.
Diffstat (limited to 'sugar/datastore/dbus_helpers.py')
-rw-r--r--sugar/datastore/dbus_helpers.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/sugar/datastore/dbus_helpers.py b/sugar/datastore/dbus_helpers.py
index 2dfccac..d642988 100644
--- a/sugar/datastore/dbus_helpers.py
+++ b/sugar/datastore/dbus_helpers.py
@@ -59,10 +59,16 @@ def get_filename(uid):
return filename
def find(query, reply_handler, error_handler):
- logging.debug('dbus_helpers.find')
+ logging.debug('dbus_helpers.find: %r' % query)
if reply_handler and error_handler:
return _data_store.find(query, reply_handler=reply_handler,
error_handler=error_handler)
else:
return _data_store.find(query)
+def mount(uri, options):
+ return _data_store.mount(uri, options)
+
+def mounts():
+ return _data_store.mounts()
+