Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
981ab941
Commit
981ab941
authored
5 years ago
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b32e5600
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
go/zodb/zodbtools/catobj.go
go/zodb/zodbtools/catobj.go
+2
-2
go/zodb/zodbtools/dump.go
go/zodb/zodbtools/dump.go
+2
-2
go/zodb/zodbtools/info.go
go/zodb/zodbtools/info.go
+2
-2
No files found.
go/zodb/zodbtools/catobj.go
View file @
981ab941
...
...
@@ -104,7 +104,7 @@ func catobjMain(argv []string) {
flags
.
Usage
()
prog
.
Exit
(
2
)
}
storU
rl
:=
argv
[
0
]
zu
rl
:=
argv
[
0
]
if
hashOnly
&&
raw
{
prog
.
Fatal
(
"-hashonly & -raw are incompatible"
)
...
...
@@ -126,7 +126,7 @@ func catobjMain(argv []string) {
ctx
:=
context
.
Background
()
stor
,
err
:=
zodb
.
OpenStorage
(
ctx
,
storU
rl
,
&
zodb
.
OpenOptions
{
ReadOnly
:
true
})
stor
,
err
:=
zodb
.
OpenStorage
(
ctx
,
zu
rl
,
&
zodb
.
OpenOptions
{
ReadOnly
:
true
})
if
err
!=
nil
{
prog
.
Fatal
(
err
)
}
...
...
This diff is collapsed.
Click to expand it.
go/zodb/zodbtools/dump.go
View file @
981ab941
...
...
@@ -258,7 +258,7 @@ func dumpMain(argv []string) {
flags
.
Usage
()
prog
.
Exit
(
2
)
}
storU
rl
:=
argv
[
0
]
zu
rl
:=
argv
[
0
]
if
len
(
argv
)
>
1
{
tidRange
=
argv
[
1
]
...
...
@@ -271,7 +271,7 @@ func dumpMain(argv []string) {
ctx
:=
context
.
Background
()
stor
,
err
:=
zodb
.
OpenStorage
(
ctx
,
storU
rl
,
&
zodb
.
OpenOptions
{
ReadOnly
:
true
})
stor
,
err
:=
zodb
.
OpenStorage
(
ctx
,
zu
rl
,
&
zodb
.
OpenOptions
{
ReadOnly
:
true
})
if
err
!=
nil
{
prog
.
Fatal
(
err
)
}
...
...
This diff is collapsed.
Click to expand it.
go/zodb/zodbtools/info.go
View file @
981ab941
...
...
@@ -118,11 +118,11 @@ func infoMain(argv []string) {
flags
.
Usage
()
prog
.
Exit
(
2
)
}
storU
rl
:=
argv
[
0
]
zu
rl
:=
argv
[
0
]
ctx
:=
context
.
Background
()
stor
,
err
:=
zodb
.
OpenStorage
(
ctx
,
storU
rl
,
&
zodb
.
OpenOptions
{
ReadOnly
:
true
})
stor
,
err
:=
zodb
.
OpenStorage
(
ctx
,
zu
rl
,
&
zodb
.
OpenOptions
{
ReadOnly
:
true
})
if
err
!=
nil
{
prog
.
Fatal
(
err
)
}
...
...
This diff is collapsed.
Click to expand it.
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