mirror of https://github.com/zulip/zulip.git
zulip_tools: Replace universal_newlines with text.
Generated by pyupgrade. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
2afe82ba2e
commit
0451d1e47f
|
@ -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 that
|
||||
stderr=subprocess.DEVNULL,
|
||||
|
|
Loading…
Reference in New Issue