diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-07-03 15:07:48 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-07-03 15:07:48 (GMT) |
commit | 13885e621b689eec1baab16ccc81384f0790ad3e (patch) | |
tree | 6cf2d2df89be58fb55223541b78e35379c9bbe54 /sugar/datastore/dbus_helpers.py | |
parent | 6b90f192a234dbd086e701032dbb55bf77b4b579 (diff) |
Add get_unique_values() func to the datastore.
Diffstat (limited to 'sugar/datastore/dbus_helpers.py')
-rw-r--r-- | sugar/datastore/dbus_helpers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/datastore/dbus_helpers.py b/sugar/datastore/dbus_helpers.py index 76299c1..0f1b690 100644 --- a/sugar/datastore/dbus_helpers.py +++ b/sugar/datastore/dbus_helpers.py @@ -75,3 +75,6 @@ def unmount(mount_point_id): def mounts(): return _data_store.mounts() +def get_unique_values(key): + return _data_store.get_uniquevaluesfor(key, {}) + |