* fix: missing dump line
This commit is contained in:
@@ -111,6 +111,7 @@ class DBShelf:
|
|||||||
def __setitem__(self, key, value):
|
def __setitem__(self, key, value):
|
||||||
# hyperdandik transactions
|
# hyperdandik transactions
|
||||||
def proc(txn):
|
def proc(txn):
|
||||||
|
data = cPickle.dumps(value, self.binary)
|
||||||
self.db.put(key,data,txn)
|
self.db.put(key,data,txn)
|
||||||
return self.txn_proc(proc, None)
|
return self.txn_proc(proc, None)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user