Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
e5fb9a7f
Commit
e5fb9a7f
authored
May 21, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0eb77b1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
wcfs/testprog/treedelta-genallstructs.py
wcfs/testprog/treedelta-genallstructs.py
+5
-1
No files found.
wcfs/testprog/treedelta-genallstructs.py
View file @
e5fb9a7f
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment