Skip to content
Snippets Groups Projects
Verified Commit 54617f34 authored by Janis Streib's avatar Janis Streib :owl:
Browse files

FIX: don't exit on non-empty stderr

parent 67b7cbbc
No related branches found
No related tags found
No related merge requests found
Pipeline #428094 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment