mirror of https://github.com/m-labs/artiq.git
RELEASE_NOTES: update lmdb migrate script
This commit is contained in:
parent
373fe3dbe7
commit
7ca02a119d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue