mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Make tools/test-run-dev python3 compatible.
Use universal_newlines=True with subprocess.check_output in tools/test-run-dev.
This commit is contained in:
committed by
Tim Abbott
parent
e86539649c
commit
fd007c4554
@@ -44,7 +44,7 @@ def test_nagios(nagios_logfile):
|
|||||||
'--nagios',
|
'--nagios',
|
||||||
'--site=127.0.0.1:9991',
|
'--site=127.0.0.1:9991',
|
||||||
]
|
]
|
||||||
result = subprocess.check_output(args, env=my_env,
|
result = subprocess.check_output(args, env=my_env, universal_newlines=True,
|
||||||
stderr=nagios_logfile)
|
stderr=nagios_logfile)
|
||||||
|
|
||||||
if 'success' in result:
|
if 'success' in result:
|
||||||
|
|||||||
Reference in New Issue
Block a user