Commit 3360fb78 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 98026c7c
...@@ -18,9 +18,11 @@ ...@@ -18,9 +18,11 @@
# #
# See COPYING file for full licensing terms. # See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options. # See https://www.nexedi.com/licensing for rationale and options.
"""Program treegen provides infrastructure to generate ZODB BTree states.
FIXME update text # FIXME update text
# XXX review
"""Program treegen provides infrastructure to generate ZODB BTree states.
It is used as helper for ΔBTree tests. It is used as helper for ΔBTree tests.
...@@ -400,7 +402,6 @@ def TopoDecode(zctx, text): ...@@ -400,7 +402,6 @@ def TopoDecode(zctx, text):
return xbtree.TopoDecode(text, zctx.vdecode) return xbtree.TopoDecode(text, zctx.vdecode)
# xreadlines iterates through lines in r skipping comments. # xreadlines iterates through lines in r skipping comments.
def xreadlines(r): def xreadlines(r):
while 1: while 1:
...@@ -412,6 +413,7 @@ def xreadlines(r): ...@@ -412,6 +413,7 @@ def xreadlines(r):
continue # skip comments continue # skip comments
yield l yield l
@func @func
def cmd_allstructs(argv): def cmd_allstructs(argv):
if len(argv) != 5: if len(argv) != 5:
......
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