Added umount method to datastore.py.

master
Tomeu Vizoso 17 years ago
parent 9cdd9058da
commit 2ccf9c0b16

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

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

Loading…
Cancel
Save