diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-17 21:46:35 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-18 13:00:34 +0100 |
commit | fa8fe5b69669b4d86e0d0970d68502abee8785f3 (patch) | |
tree | 177964f91bff38cb4b517fec698274febfd5492d /test/lint/lint-assertions.py | |
parent | fa2a23548aa9656e397189d8da844657709fb831 (diff) |
scripted-diff: Use new python 3.7 keywords
-BEGIN VERIFY SCRIPT-
sed -i 's/universal_newlines/text/g' $(git grep -l universal_newlines)
-END VERIFY SCRIPT-
Diffstat (limited to 'test/lint/lint-assertions.py')
-rwxr-xr-x | test/lint/lint-assertions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-assertions.py b/test/lint/lint-assertions.py index 195ff33d11..e7eecebce5 100755 --- a/test/lint/lint-assertions.py +++ b/test/lint/lint-assertions.py @@ -12,7 +12,7 @@ import subprocess def git_grep(params: [], error_msg: ""): try: - output = subprocess.check_output(["git", "grep", *params], universal_newlines=True, encoding="utf8") + output = subprocess.check_output(["git", "grep", *params], text=True, encoding="utf8") print(error_msg) print(output) return 1 |