mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 13:40:20 +01:00
contrib/bkr: don't drop error output
This commit is contained in:
parent
6ccf90a5bb
commit
ac8a103660
1 changed files with 3 additions and 1 deletions
|
|
@ -265,9 +265,11 @@ def nitrate_get_cases_by_one_tag(tag_name):
|
|||
cases_with_tag = _nitrate_index_cases_by_case_id(cases_with_tag)
|
||||
return sub_dict(cases, cases_with_tag.keys())
|
||||
|
||||
def _call(args, stderr=devnull, reason=None, dry_run=False, verbose=False):
|
||||
def _call(args, stderr=None, reason=None, dry_run=False, verbose=False):
|
||||
if verbose:
|
||||
print(">%s '%s'" % ('x' if dry_run else '>', "' '".join(args)))
|
||||
elif stderr is None:
|
||||
stderr = devnull
|
||||
try:
|
||||
if dry_run:
|
||||
output = ''
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue