mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
ruff: Fix PLW1510 subprocess.run without explicit check argument.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit c43629a222)
This commit is contained in:
committed by
Alex Vandiver
parent
4ac849d006
commit
47e2b07316
@@ -41,6 +41,7 @@ skip_backups = subprocess.run(
|
||||
["crudini", "--get", "/etc/zulip/zulip.conf", "postgresql", "skip_backups"],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
check=False,
|
||||
)
|
||||
if skip_backups.returncode == 0 and skip_backups.stdout.strip().lower() in [
|
||||
1,
|
||||
|
||||
Reference in New Issue
Block a user