python: Replace universal_newlines with text.

This is supported in Python ≥ 3.7.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-01-21 22:52:54 -08:00
committed by Tim Abbott
parent fd6d048efd
commit 97e4e9886c
28 changed files with 31 additions and 45 deletions

View File

@@ -66,7 +66,7 @@ if __name__ == "__main__":
bufsize=1, # line buffered
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
universal_newlines=True,
text=True,
)
failed = check_worker_launch(run_dev)