Mercurial > libervia-backend
changeset 2302:f824b6026b73
core (memory/persistent): fixed calls to delPrivateValue
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 05 Jul 2017 14:50:39 +0200 |
parents | 137ed5fbcbfd |
children | 37887b5acb25 |
files | src/memory/persistent.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/memory/persistent.py Wed Jul 05 14:50:13 2017 +0200 +++ b/src/memory/persistent.py Wed Jul 05 14:50:39 2017 +0200 @@ -114,7 +114,7 @@ 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 @@ 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: