diff options
author | tkikuchi <> | 2005-07-16 01:13:30 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-07-16 01:13:30 +0000 |
commit | 416398f3018086fccaa6035cb47a29e8782af4dc (patch) | |
tree | ceb678a06159c07960125faa030cc6827da10518 /Mailman/Logging/Logger.py | |
parent | 7bc118045a8ac3e907d01898eb97445de89c6128 (diff) | |
download | mailman2-416398f3018086fccaa6035cb47a29e8782af4dc.tar.gz mailman2-416398f3018086fccaa6035cb47a29e8782af4dc.tar.xz mailman2-416398f3018086fccaa6035cb47a29e8782af4dc.zip |
[ 1235567 ] unicode() call failing, emails stuck in moderation queue
Diffstat (limited to '')
-rw-r--r-- | Mailman/Logging/Logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Logging/Logger.py b/Mailman/Logging/Logger.py index 0cb7c6af..b583a351 100644 --- a/Mailman/Logging/Logger.py +++ b/Mailman/Logging/Logger.py @@ -85,7 +85,7 @@ class Logger: def write(self, msg): if isinstance(msg, StringType): - msg = unicode(msg, self.__encoding) + msg = unicode(msg, self.__encoding, 'replace') f = self.__get_f() try: f.write(msg) |