Bug 222806 - [ews] Add python 3 support in send_email
Summary: [ews] Add python 3 support in send_email
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
Keywords: InRadar
Depends on:
Reported: 2021-03-05 09:34 PST by Aakash Jain
Modified: 2021-03-05 11:50 PST (History)
5 users (show)

See Also:

Patch (1.04 KB, patch)
2021-03-05 09:36 PST, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
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