mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 13:49:35 +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:
@@ -13,7 +13,7 @@ import sys
|
||||
|
||||
def main():
|
||||
submodules_list = subprocess.check_output(['git', 'submodule', 'status', '--recursive'],
|
||||
universal_newlines = True, encoding = 'utf8').rstrip('\n')
|
||||
text = True, encoding = 'utf8').rstrip('\n')
|
||||
if submodules_list:
|
||||
print("These submodules were found, delete them:\n", submodules_list)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user