Added umount method to datastore.py.

This commit is contained in:
Tomeu Vizoso 2007-06-28 10:43:38 +02:00
parent 9cdd9058da
commit 2ccf9c0b16
2 changed files with 6 additions and 0 deletions

View File

@ -145,5 +145,8 @@ def find(query, sorting=None, limit=None, offset=None, reply_handler=None,
def mount(uri, options): def mount(uri, options):
return dbus_helpers.mount(uri, options) return dbus_helpers.mount(uri, options)
def unmount(mount_point_id):
dbus_helpers.unmount(mount_point_id)
def mounts(): def mounts():
return dbus_helpers.mounts() return dbus_helpers.mounts()

View File

@ -69,6 +69,9 @@ def find(query, reply_handler, error_handler):
def mount(uri, options): def mount(uri, options):
return _data_store.mount(uri, options) return _data_store.mount(uri, options)
def unmount(mount_point_id):
_data_store.unmount(mount_point_id)
def mounts(): def mounts():
return _data_store.mounts() return _data_store.mounts()