Commit 22ac840f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6273f533
......@@ -18,6 +18,7 @@ import (
"context"
"fmt"
"lab.nexedi.com/kirr/go123/mem"
"lab.nexedi.com/kirr/neo/go/zodb"
pickle "github.com/kisielk/og-rek"
......@@ -62,7 +63,7 @@ type PyStateful interface {
// ---- pyObject <-> object state exchange ----
func (pyobj *pyObject) SetState(state *mem.Buf) error {
pyclass, pystate, err = zodb.PyData(state.Data).Decode()
pyclass, pystate, err := zodb.PyData(state.Data).Decode()
if err != nil {
return err // XXX err ctx
}
......
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