Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zulip_tools: Replace universal_newlines with text.
Anders Kaseorg0451d1e47f27
diff --git a/scripts/lib/zulip_tools.py b/scripts/lib/zulip_tools.pyindex 49bac41ce7c..e9ac1046bb7 100755--- a/scripts/lib/zulip_tools.py+++ b/scripts/lib/zulip_tools.py@@ -663,7 +663,7 @@ def listening_publicly(port: int) -> List[str]:lines = (subprocess.check_output(["/bin/ss", "-Hnl", filter],- universal_newlines=True,+ text=True,# Hosts with IPv6 disabled will get "RTNETLINK answers: Invalid# argument"; eat stderr to hide thatstderr=subprocess.DEVNULL,