From 5cf43b2e2ed6067c1481eb945d86d0e71bfcc344 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 8 Sep 2021 11:17:04 +0200 Subject: [PATCH] core (memory/persistent): implement `__repr__` (via `__str__`) --- sat/memory/persistent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/memory/persistent.py b/sat/memory/persistent.py index 96ad2de7..94c0fea0 100644 --- a/sat/memory/persistent.py +++ b/sat/memory/persistent.py @@ -186,7 +186,7 @@ class LazyPersistentBinaryDict(PersistentBinaryDict): 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)