From 7ca02a119dd70f14dd6f134ad8765da05f74992a Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Thu, 6 Jul 2023 11:19:06 +0800 Subject: [PATCH] RELEASE_NOTES: update lmdb migrate script --- RELEASE_NOTES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 9bc85f9bd..93a36612a 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -40,7 +40,7 @@ Highlights: new = lmdb.open("dataset_db.mdb", subdir=False, map_size=2**30) with new.begin(write=True) as txn: for key, value in old.items(): - txn.put(key.encode(), pyon.encode(value).encode()) + txn.put(key.encode(), pyon.encode((value, {})).encode()) new.close() Breaking changes: