mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Use print(...) instead of undefined printf(...)
This commit is contained in:
parent
25cd520fc4
commit
51cb6b8221
@ -254,12 +254,12 @@ def main():
|
|||||||
first_sha512 = tree_sha512sum()
|
first_sha512 = tree_sha512sum()
|
||||||
message += '\n\nTree-SHA512: ' + first_sha512
|
message += '\n\nTree-SHA512: ' + first_sha512
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
printf("ERROR: Unable to compute tree hash")
|
print("ERROR: Unable to compute tree hash")
|
||||||
sys.exit(4)
|
sys.exit(4)
|
||||||
try:
|
try:
|
||||||
subprocess.check_call([GIT,'commit','--amend','-m',message.encode('utf-8')])
|
subprocess.check_call([GIT,'commit','--amend','-m',message.encode('utf-8')])
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
printf("ERROR: Cannot update message.",file=stderr)
|
print("ERROR: Cannot update message.", file=stderr)
|
||||||
sys.exit(4)
|
sys.exit(4)
|
||||||
|
|
||||||
print_merge_details(pull, title, branch, base_branch, head_branch)
|
print_merge_details(pull, title, branch, base_branch, head_branch)
|
||||||
|
Loading…
Reference in New Issue
Block a user