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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
3c1c9f41
Commit
3c1c9f41
authored
Sep 07, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
313bc6ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
wcfs/zblk.go
wcfs/zblk.go
+2
-2
wcfs/zblk_test.go
wcfs/zblk_test.go
+0
-6
No files found.
wcfs/zblk.go
View file @
3c1c9f41
...
...
@@ -319,7 +319,7 @@ func (bf *zBigFileState) PySetState(pystate interface{}) (err error) {
return
fmt
.
Errorf
(
"expect [2](); got [%d]()"
,
len
(
t
))
}
// blksize, ok := pickletools
.Xint64(t[0]) // XXX reenable (pickletools)
blksize
,
ok
:=
zodbpickle
.
Xint64
(
t
[
0
])
// XXX reenable (pickletools)
if
!
ok
{
return
fmt
.
Errorf
(
"blksize: expect integer; got %T"
,
t
[
0
])
}
...
...
@@ -329,7 +329,7 @@ func (bf *zBigFileState) PySetState(pystate interface{}) (err error) {
return
fmt
.
Errorf
(
"blktab: expect LOBTree; got %T"
,
t
[
1
])
}
bf
.
blksize
=
0
// XXX
blksize
bf
.
blksize
=
blksize
bf
.
blktab
=
blktab
return
nil
}
...
...
wcfs/zblk_test.go
View file @
3c1c9f41
...
...
@@ -96,11 +96,6 @@ func TestZBlk(t *testing.T) {
// XXX
_
,
_
,
_
=
z0
,
z1
,
zf
_
=
xactivate
/*
xactivate
(
zf
)
if
zf
.
blksize
!=
blksize
{
t
.
Fatalf
(
"zf: blksize=%d; want %d"
,
zf
.
blksize
,
blksize
)
...
...
@@ -108,6 +103,5 @@ func TestZBlk(t *testing.T) {
// XXX zf.blktab.Get(0) -> z0
// XXX zf.blktab.Get(1) -> z1
*/
}
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