summaryrefslogtreecommitdiff
path: root/persistent.py
diff options
context:
space:
mode:
authorScott <[email protected]>2022-01-12 16:19:52 -0800
committerScott <[email protected]>2022-01-12 16:19:52 -0800
commit52290f9c9e0eeaba3d5a067043f5ba98c9b386e5 (patch)
treee12b34fbe3a8dc5f0bf256c4474e1a3740529811 /persistent.py
parent55a3172e37855f388b9ba0dfc91641a6c9ad1376 (diff)
Add doctests, general cleanup.
Diffstat (limited to 'persistent.py')
-rw-r--r--persistent.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/persistent.py b/persistent.py
index 83e6900..36ae29c 100644
--- a/persistent.py
+++ b/persistent.py
@@ -146,7 +146,6 @@ class persistent_autoloaded_singleton(object):
if not self.instance:
msg = 'Loading from cache failed.'
logger.warning(msg)
- warnings.warn(msg, stacklevel=2)
logger.debug(f'Attempting to instantiate {cls.__name__} directly.')
self.instance = cls(*args, **kwargs)
else: