Bug 222806

Summary: [ews] Add python 3 support in send_email
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, jbedard, ryanhaddad, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Aakash Jain 2021-03-05 09:34:12 PST
Add python 3 support to send_email in ews. Current code fails in python 3 with error:

  File "/var/buildbot/OpenSource/Tools/CISupport/ews-build/send_email.py", line 64, in send_email
    text = text.replace('\n', '<br>')
TypeError: a bytes-like object is required, not 'str'
Comment 1 Aakash Jain 2021-03-05 09:36:42 PST
Created attachment 422375 [details]
Patch
Comment 2 EWS 2021-03-05 11:50:00 PST
Committed r273987: <https://commits.webkit.org/r273987>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 422375 [details].
Comment 3 Radar WebKit Bug Importer 2021-03-05 11:50:17 PST
<rdar://problem/75105044>