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-python-mutable-default-parameters.py | |
parent | fa2a23548aa9656e397189d8da844657709fb831 (diff) | |
download | bitcoin-fa8fe5b69669b4d86e0d0970d68502abee8785f3.tar.xz |
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-python-mutable-default-parameters.py')
-rwxr-xr-x | test/lint/lint-python-mutable-default-parameters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-python-mutable-default-parameters.py b/test/lint/lint-python-mutable-default-parameters.py index 3dfc5940f7..820595ea34 100755 --- a/test/lint/lint-python-mutable-default-parameters.py +++ b/test/lint/lint-python-mutable-default-parameters.py @@ -21,7 +21,7 @@ def main(): "--", "*.py", ] - output = subprocess.run(command, stdout=subprocess.PIPE, universal_newlines=True) + output = subprocess.run(command, stdout=subprocess.PIPE, text=True) if len(output.stdout) > 0: error_msg = ( "A mutable list or dict seems to be used as default parameter value:\n\n" |