mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-09 08:02:03 +02:00
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-
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user