Commit e5fb9a7f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0eb77b1f
......@@ -44,10 +44,12 @@ XXX
from __future__ import print_function, absolute_import
import sys
from golang import func, defer
from ZODB import DB
import transaction
import zodbtools
from wendelin.bigfile.file_zodb import ZBlk
from wendelin.wcfs.internal import xbtree
# init initializes ...
......@@ -115,11 +117,13 @@ def main():
sys.exit(1)
n = int(sys.argv[1])
zurl, kv1, kv2 = sys.argv[2:] # XXX kv decode
zurl, kv1, kv2 = sys.argv[2:]
zstor = zodbtools.storageFromURL(zurl)
defer(zstor.close)
treedeltaGenAllStructs(zstor, kv1, kv2, n)
if __name__ == '__main__':
main()
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