diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-07-09 23:34:10 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-28 15:18:14 +0200 |
commit | 51cb6b8221560e5e62894b566c9580dbbd1c65a4 (patch) | |
tree | 605e16dd17b3d5a4c231381ada042f45328d20f8 /contrib/devtools/github-merge.py | |
parent | 25cd520fc429c464846b0f986104db45b3bfaebb (diff) |
Use print(...) instead of undefined printf(...)
Diffstat (limited to 'contrib/devtools/github-merge.py')
-rwxr-xr-x | contrib/devtools/github-merge.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/devtools/github-merge.py b/contrib/devtools/github-merge.py index 7545c4340d..4b1bae6100 100755 --- a/contrib/devtools/github-merge.py +++ b/contrib/devtools/github-merge.py @@ -254,12 +254,12 @@ def main(): first_sha512 = tree_sha512sum() message += '\n\nTree-SHA512: ' + first_sha512 except subprocess.CalledProcessError as e: - printf("ERROR: Unable to compute tree hash") + print("ERROR: Unable to compute tree hash") sys.exit(4) try: subprocess.check_call([GIT,'commit','--amend','-m',message.encode('utf-8')]) except subprocess.CalledProcessError as e: - printf("ERROR: Cannot update message.",file=stderr) + print("ERROR: Cannot update message.", file=stderr) sys.exit(4) print_merge_details(pull, title, branch, base_branch, head_branch) |