Mercurial > libervia-backend
changeset 3653:d2b17f0f2615
core (memory/persistent): implement `__repr__` (via `__str__`)
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 08 Sep 2021 11:17:04 +0200 |
parents | 6e34307319c0 |
children | 3910ad643e9d |
files | sat/memory/persistent.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat/memory/persistent.py Wed Sep 08 11:16:52 2021 +0200 +++ b/sat/memory/persistent.py Wed Sep 08 11:17:04 2021 +0200 @@ -186,7 +186,7 @@ return self.storage.getPrivates(self.namespace, binary=self.binary, profile=self.profile) def __repr__(self): - raise NotImplementedError + return self.__str__() def __str__(self): return "LazyPersistentBinaryDict (namespace: {})".format(self.namespace)