mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
tools: Use subprocess.check_call where appropriate.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 041dcdfbad)
This commit is contained in:
committed by
Alex Vandiver
parent
47e2b07316
commit
e953ff71e4
@@ -32,7 +32,9 @@ if __name__ == "__main__":
|
||||
args = parser.parse_args()
|
||||
|
||||
if not args.no_generate:
|
||||
subprocess.call(["./manage.py", "makemessages", "--locale", "en"], stderr=subprocess.STDOUT)
|
||||
subprocess.check_call(
|
||||
["./manage.py", "makemessages", "--locale", "en"], stderr=subprocess.STDOUT
|
||||
)
|
||||
|
||||
with open("locale/en/translations.json") as f:
|
||||
data = json.load(f)
|
||||
|
||||
Reference in New Issue
Block a user