Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
8e12dfec
Commit
8e12dfec
authored
Jul 04, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
51c17592
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
go/zodb/py/pydata-gen-testdata
go/zodb/py/pydata-gen-testdata
+1
-1
go/zodb/storage/fs1/py/gen-testdata
go/zodb/storage/fs1/py/gen-testdata
+6
-6
No files found.
go/zodb/py/pydata-gen-testdata
View file @
8e12dfec
...
...
@@ -22,7 +22,7 @@
from
ZODB.tests
import
testSerialize
from
ZODB
import
serialize
from
zodbtools.util
import
escapeqq
as
qq
from
golang.gcompat
import
qq
def
main
():
# dump to go what to expect
...
...
go/zodb/storage/fs1/py/gen-testdata
View file @
8e12dfec
...
...
@@ -22,7 +22,7 @@
from
ZODB.FileStorage
import
FileStorage
from
zodbtools.test.gen_testdata
import
gen_testdb
from
zodbtools.util
import
escape
qq
from
golang.gcompat
import
qq
import
struct
...
...
@@ -81,9 +81,9 @@ def main():
emit
(
"
\
t
\
t
\
t
TxnInfo:
\
t
zodb.TxnInfo{"
)
emit
(
"
\
t
\
t
\
t
\
t
Tid:
\
t
%s,"
%
hex64
(
txn
.
tid
))
emit
(
"
\
t
\
t
\
t
\
t
Status:
\
t
'%s',"
%
txn
.
status
)
emit
(
"
\
t
\
t
\
t
\
t
User:
\
t
\
t
[]byte(%s),"
%
escape
qq
(
txn
.
user
))
emit
(
"
\
t
\
t
\
t
\
t
Description:
\
t
[]byte(%s),"
%
escape
qq
(
txn
.
description
))
emit
(
"
\
t
\
t
\
t
\
t
Extension:
\
t
[]byte(%s),"
%
escape
qq
(
th
.
ext
))
emit
(
"
\
t
\
t
\
t
\
t
User:
\
t
\
t
[]byte(%s),"
%
qq
(
txn
.
user
))
emit
(
"
\
t
\
t
\
t
\
t
Description:
\
t
[]byte(%s),"
%
qq
(
txn
.
description
))
emit
(
"
\
t
\
t
\
t
\
t
Extension:
\
t
[]byte(%s),"
%
qq
(
th
.
ext
))
emit
(
"
\
t
\
t
\
t
},"
)
emit
(
"
\
t
\
t
},"
)
...
...
@@ -118,14 +118,14 @@ def main():
data
=
"/* deleted */ nil"
datatid
=
"/* deleted */ 0"
else
:
data
=
"[]byte(%s)"
%
escape
qq
(
drec
.
data
)
data
=
"[]byte(%s)"
%
qq
(
drec
.
data
)
datatid
=
"/* copy from */ "
+
hex64
(
drec
.
data_txn
)
else
:
rawdata
=
drec
.
data
data
=
"/* same as ^^^ */ sameAsRaw"
datatid
=
"/* no copy */ 0"
emit
(
"
\
t
\
t
\
t
\
t
[]byte(%s),"
%
escape
qq
(
rawdata
))
emit
(
"
\
t
\
t
\
t
\
t
[]byte(%s),"
%
qq
(
rawdata
))
emit
(
"
\
t
\
t
\
t
\
t
%s,"
%
data
)
emit
(
"
\
t
\
t
\
t
\
t
%s,"
%
datatid
)
emit
(
"
\
t
\
t
\
t
},"
)
...
...
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