Commit a932c596 authored by Tim Graham's avatar Tim Graham
Browse files

[1.7.x] Fixed #22882 -- Fixed a UnicodeDecodeError in flush.

Thanks djbaldey for the report.

Backport of 0e4d79c4 from master
parent d19291e9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
from __future__ import unicode_literals

import sys
from importlib import import_module
from optparse import make_option
+3 −0
Original line number Diff line number Diff line
@@ -10,3 +10,6 @@ Bugfixes
========

* Replace with actual issue (:ticket:`00000`).

* Fixed a ``UnicodeDecodeError`` when the ``flush`` error message contained
  Unicode characters (:ticket:`22882`).