We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d361f7f commit c8b6d64Copy full SHA for c8b6d64
src/nectarchain/dqm/db_utils.py
@@ -1,4 +1,5 @@
1
import transaction
2
+from BTrees.OOBTree import OOBTree
3
from ZEO import ClientStorage
4
from ZODB import DB
5
@@ -17,7 +18,7 @@ def __init__(self, read_only=True):
17
18
def insert(self, key=None, value=None):
19
if key is not None and value is not None:
20
try:
- self.root[key] = value
21
+ self.root[key] = OOBTree(value)
22
return True
23
except AttributeError:
24
return False
0 commit comments