diff --git a/sugar/datastore/datastore.py b/sugar/datastore/datastore.py index 0c2379d3..a5ac3d0e 100644 --- a/sugar/datastore/datastore.py +++ b/sugar/datastore/datastore.py @@ -60,8 +60,14 @@ class DSMetadata(gobject.GObject): def __delitem__(self, key): del self._props[key] + def __contains__(self, key): + return self._props.__contains__(key) + def has_key(self, key): return self._props.has_key(key) + + def keys(self): + return self._props.keys() def get_dictionary(self): return self._props