[Sugar-devel] [PATCH sugar-toolkit-gtk3] Datastore: remove deprecated API
Simon Schampijer
simon at schampijer.de
Wed Jan 11 12:56:10 EST 2012
This API is not in use anywhere in the shell and has
been deprecated for quite some time.
Signed-off-by: Simon Schampijer <simon at laptop.org>
---
src/sugar3/datastore/datastore.py | 41 -------------------------------------
1 files changed, 0 insertions(+), 41 deletions(-)
diff --git a/src/sugar3/datastore/datastore.py b/src/sugar3/datastore/datastore.py
index c7a741e..33100e8 100644
--- a/src/sugar3/datastore/datastore.py
+++ b/src/sugar3/datastore/datastore.py
@@ -495,47 +495,6 @@ def copy(ds_object, mount_point):
write(new_ds_object)
-def mount(uri, options, timeout=-1):
- """Deprecated. API private to the shell. Mount a device.
-
- Keyword arguments:
- uri -- identifier of the device
- options -- mount options
- timeout -- dbus timeout for the caller to wait (default -1)
-
- Return: empty string
-
- """
- return _get_data_store().mount(uri, options, timeout=timeout)
-
-
-def unmount(mount_point_id):
- """Deprecated. API private to the shell.
-
- Keyword arguments:
- mount_point_id -- id of the mount point
-
- Note: API private to the shell.
-
- """
- _get_data_store().unmount(mount_point_id)
-
-
-def mounts():
- """Deprecated. Returns the mount point of the datastore. We get mount
- points through gio now. API private to the shell.
-
- Return: datastore mount point
-
- """
- return _get_data_store().mounts()
-
-
-def complete_indexing():
- """Deprecated. API private to the shell."""
- logging.warning('The method complete_indexing has been deprecated.')
-
-
def get_unique_values(key):
"""Retrieve an array of unique values for a field.
--
1.7.7.5
More information about the Sugar-devel
mailing list