mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 03:53:22 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user