Skip to content

Commit 51cb6b8

Browse files
Use print(...) instead of undefined printf(...)
1 parent 25cd520 commit 51cb6b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/devtools/github-merge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@ def main():
254254
first_sha512 = tree_sha512sum()
255255
message += '\n\nTree-SHA512: ' + first_sha512
256256
except subprocess.CalledProcessError as e:
257-
printf("ERROR: Unable to compute tree hash")
257+
print("ERROR: Unable to compute tree hash")
258258
sys.exit(4)
259259
try:
260260
subprocess.check_call([GIT,'commit','--amend','-m',message.encode('utf-8')])
261261
except subprocess.CalledProcessError as e:
262-
printf("ERROR: Cannot update message.",file=stderr)
262+
print("ERROR: Cannot update message.", file=stderr)
263263
sys.exit(4)
264264

265265
print_merge_details(pull, title, branch, base_branch, head_branch)

0 commit comments

Comments
 (0)