Normalize the text and HTML body types for EmailMessage.

Review Request #10471 — Created March 27, 2019 and submitted

chipx86
Djblets
release-2.0.x
djblets

EmailMessage now accepts both byte strings and Unicode strings for the
text and HTML bodies. These are normalized to Unicode strings, which are
compatible with the implementations on both Python 2 and 3, and across
the range of Django versions.

Djblets and Review Board unit tests pass on Python 2/3 with Django 1.6
and 1.11.

Summary
Normalize the text and HTML body types for EmailMessage.
Description From Last Updated

E303 too many blank lines (2)

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (3e9a440)
Loading...