diff --git a/src/memory/persistent.py b/src/memory/persistent.py index ea93e23e..e3240345 100644 --- a/src/memory/persistent.py +++ b/src/memory/persistent.py @@ -114,7 +114,7 @@ class PersistentDict(object): return self._cache.__setitem__(key, value) def __delitem__(self, key): - self.storage.detPrivateValue(self.namepace, key, self.binary, self.profile) + self.storage.delPrivateValue(self.namespace, key, self.binary, self.profile) return self._cache.__delitem__(key) def get(self, key, default=None): @@ -209,7 +209,7 @@ class LazyPersistentBinaryDict(PersistentBinaryDict): self.storage.setPrivateValue(self.namespace, key, value, self.binary, self.profile) def __delitem__(self, key): - self.storage.detPrivateValue(self.namepace, key, self.binary, self.profile) + self.storage.delPrivateValue(self.namespace, key, self.binary, self.profile) def _valueOrDefault(self, value, default): if value is None: