Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dd-archive
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
dd-archive
Commits
54617f34
Verified
Commit
54617f34
authored
1 month ago
by
Janis Streib
Browse files
Options
Downloads
Patches
Plain Diff
FIX: don't exit on non-empty stderr
parent
67b7cbbc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#428094
passed
7 hours ago
Stage: dump
Changes
1
Pipelines
56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dump.py
+1
-1
1 addition, 1 deletion
dump.py
with
1 addition
and
1 deletion
dump.py
+
1
−
1
View file @
54617f34
...
...
@@ -20,8 +20,8 @@ def exec_command_into_file(command: list[str], file: Optional[str], env: dict[st
with
open
(
file
,
'
w
'
)
as
f
:
f
.
write
(
stdout
.
decode
(
'
utf-8
'
))
if
len
(
err
.
decode
(
'
utf-8
'
))
>
0
:
print
(
f
'
Warning: Captured non-empty STDERR while executing
{
command
}
'
)
print
(
err
.
decode
(
'
utf-8
'
),
file
=
sys
.
stderr
)
sys
.
exit
(
1
)
def
dump_data
(
main_version
,
obj
,
f_name
,
sort_key
=
'
name
'
):
d
=
None
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment