Commit ecabdec6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 89ef49c4
...@@ -50,6 +50,8 @@ func zodbDump(w io.Writer, stor zodb.IStorage, tidMin, tidMax zodb.Tid, hashOnly ...@@ -50,6 +50,8 @@ func zodbDump(w io.Writer, stor zodb.IStorage, tidMin, tidMax zodb.Tid, hashOnly
var retErr error var retErr error
iter := stor.Iterate(tidMin, tidMax) iter := stor.Iterate(tidMin, tidMax)
// XXX error handling -> exceptions ?
// transactions // transactions
first := true first := true
for { for {
...@@ -63,7 +65,7 @@ func zodbDump(w io.Writer, stor zodb.IStorage, tidMin, tidMax zodb.Tid, hashOnly ...@@ -63,7 +65,7 @@ func zodbDump(w io.Writer, stor zodb.IStorage, tidMin, tidMax zodb.Tid, hashOnly
goto out goto out
} }
// TODO if not first: println // LF in-between txn records
vskip := "\n" vskip := "\n"
if first { if first {
vskip = "" vskip = ""
......
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