2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

RELEASE_NOTES: update lmdb migrate script

This commit is contained in:
Simon Renblad 2023-07-06 11:19:06 +08:00 committed by Sébastien Bourdeauducq
parent 373fe3dbe7
commit 7ca02a119d

View File

@ -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: