aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lint/lint-shell.py')
-rwxr-xr-xtest/lint/lint-shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-shell.py b/test/lint/lint-shell.py
index ed95024ef5..1646bf0d3e 100755
--- a/test/lint/lint-shell.py
+++ b/test/lint/lint-shell.py
@@ -25,7 +25,7 @@ def check_shellcheck_install():
sys.exit(0)
def get_files(command):
- output = subprocess.run(command, stdout=subprocess.PIPE, universal_newlines=True)
+ output = subprocess.run(command, stdout=subprocess.PIPE, text=True)
files = output.stdout.split('\n')
# remove whitespace element