mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
do_show_rc: suppress bandit warning
see the comment in line 201.
This commit is contained in:
parent
a775517f08
commit
a32989071b
1 changed files with 1 additions and 1 deletions
|
|
@ -197,6 +197,6 @@ def do_show_rc(exit_code):
|
|||
rc_logger.warning(exit_msg % (ec_class, exit_code))
|
||||
elif ec_class in ("error", "signal"):
|
||||
rc_logger.error(exit_msg % (ec_class, exit_code))
|
||||
except Exception:
|
||||
except Exception: # nosec B110
|
||||
# Never let logging issues interfere with exit behaviour
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue