Add get_unique_values() func to the datastore.

This commit is contained in:
Tomeu Vizoso 2007-07-03 17:07:48 +02:00
parent 6b90f192a2
commit 13885e621b
2 changed files with 6 additions and 0 deletions

View File

@ -150,3 +150,6 @@ def unmount(mount_point_id):
def mounts():
return dbus_helpers.mounts()
def get_unique_values(key):
return dbus_helpers.get_unique_values(key)

View File

@ -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, {})