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

Thanks djbaldey for the report.

Backport of 0e4d79c4f0 from master
This commit is contained in:
Tim Graham 2014-09-06 10:07:34 -04:00
parent d19291e9ad
commit a932c596fc
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,5 @@
from __future__ import unicode_literals
import sys
from importlib import import_module
from optparse import make_option

View File

@ -10,3 +10,6 @@ Bugfixes
========
* Replace with actual issue (:ticket:`00000`).
* Fixed a ``UnicodeDecodeError`` when the ``flush`` error message contained
Unicode characters (:ticket:`22882`).