Fix unicode errors when sending notification e-mails.
Review Request #7589 — Created Aug. 14, 2015 and submitted
We already had one place that checked to make sure that we weren't trying to
format un-decoded bytes into a unicode string, but there were a couple other
places where we didn't. I've just copied and pasted the check into all the
relevant places.
Ran unit tests.
- Commit:
-
25955e6412732686f5525cd441431ec1e3c9d3e9dc8a5cc0854fbffe3812fa4bc58ff5d0d17fcec5
- Diff:
-
Revision 2 (+14 -6)
-
Tool: Pyflakes Processed Files: reviewboard/notifications/email.py Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/email.py
- Commit:
-
dc8a5cc0854fbffe3812fa4bc58ff5d0d17fcec5485ff0a651c4e1c49a8ae230007af0d22609960a
- Diff:
-
Revision 3 (+23 -6)