Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python2/3 fixes #1592

Merged
merged 7 commits into from
Jul 18, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix writelog
  • Loading branch information
smuzaffar committed Jul 16, 2021
commit fa5f40c7ab5fcc7685ad8741dff423c7c552315d
4 changes: 2 additions & 2 deletions report-pull-request-results.py
Original file line number Diff line number Diff line change
@@ -318,7 +318,7 @@ def send_message_pr(message):
print('Not posting message (dry-run): \n ', message)
return
with openlog(options.report_file, "a") as rfile:
write(rfile, message+"\n")
writelog(rfile, message+"\n")
return


@@ -328,7 +328,7 @@ def send_message_pr(message):
def add_to_report(message):
if not message: return
with openlog(options.report_file, "a") as rfile:
write(rfile, message+"\n")
writelog(rfile, message+"\n")
return

def get_base_message():