Commit c5a0b724 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cd04979f
......@@ -54,8 +54,8 @@ def main2():
root['B3'] = B3 = LOBTree(dict([(_, _) for _ in range(10000)]))
# T4/T2-T/B1-B2-T7,9/B5-B8-B10
# TODO use xbtree.py when gimport works through modules
# T4/T2-T/B1-B2-T7,9/B5-B8-B10 (to verify VGet->visit)
# TODO use xbtree.py after gimport works through modules and xbtree.py is moved to zodb/go
v1 = LOBucket([(1,"a")])
v2 = LOBucket([(2,"b")])
v5 = LOBucket([(5,"c")])
......@@ -66,7 +66,6 @@ def main2():
T79.__setstate__(((v5, 7, v8, 9, v9), v5))
T.__setstate__ (((T79,), v5))
T4.__setstate__ (((T2, 4, T), v1))
root['Bv'] = Bv = T4
transaction.commit()
......@@ -116,7 +115,7 @@ def main2():
vstr = []
for node, lo,hi in visitv:
if isinstance(hi, str):
hi_ = hi
hi_ = hi # oo or noo
else:
hi_ = hi-1
vstr.append("{%d, LKeyRange{%s, %s}}" % (u64(node._p_oid), lo, hi_))
......
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