From 3d7e11cd8fdb2e6cde59c1f3d2e76e76800575b4 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 5 Jul 2017 14:50:39 +0200 Subject: [PATCH] core (memory/persistent): fixed calls to delPrivateValue --- src/memory/persistent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: