Commit 1176b9b9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 266534c8
......@@ -115,12 +115,12 @@ class ZCtx(object):
# root['treegen/values'] = {} v -> ZBlk(v)
# TODO don't generate if already there
valdict = root['treegen/values'] = PersistentMapping()
zctx.valdict = zctx.root['treegen/values'] = PersistentMapping()
valv = b'abcdefghi'
for v in valv:
zblk = ZBlk()
zblk.setblkdata(v)
valdict[v] = zblk
zctx.valdict[v] = zblk
commit('treegen/values -> %r' % valv)
def close(zctx):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment