Commit e5fb9a7f authored by Kirill Smelkov's avatar Kirill Smelkov

.

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