diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-08 19:44:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-08 19:45:08 +0300 |
commit | 7ab936c5b9e145b8de21e91a28a993c09d9274b1 (patch) | |
tree | 484797ade490b9bee16931ab6608897ba013aa95 /build_files | |
parent | a9dbc2ef4a73a26e426704fd22eec630f9685566 (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)) |