diff options
-rwxr-xr-x | build_files/utils/make_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/utils/make_utils.py b/build_files/utils/make_utils.py index 9a1f740a393..0c63a18b0ba 100755 --- a/build_files/utils/make_utils.py +++ b/build_files/utils/make_utils.py @@ -24,7 +24,7 @@ def check_output(cmd, exit_on_error=True): sys.stderr.flush() try: - output = subprocess.check_output(cmd, stderr=subprocess.STDOUT, text=True) + output = subprocess.check_output(cmd, stderr=subprocess.STDOUT, universal_newlines=True) except subprocess.CalledProcessError as e: if exit_on_error: sys.stderr.write(" ".join(cmd)) |