From 7ab936c5b9e145b8de21e91a28a993c09d9274b1 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 8 Sep 2019 18:44:47 +0200 Subject: Fix T69640: make update not working with Python older than 3.7 --- build_files/utils/make_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_files/utils') 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)) -- cgit v1.2.3