diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-08 19:44:47 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2019-09-12 04:13:03 +0300 |
commit | b9252e63fa9648022fa14a72ba6a4383170b2fb4 (patch) | |
tree | 8f1ddab4395fcbb3f33c848f5e850b3640de230a /build_files | |
parent | d5a484a1fe11644f1d44858b33308a2c618e618b (diff) |
Fix T69640: make update not working with Python older than 3.7
Diffstat (limited to 'build_files')
-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)) |