From: Barry Warsaw Date: Tue, 13 Mar 2007 18:16:52 +0000 (+0000) Subject: SF patch #1556895; Typo in encoding name in email package. X-Git-Tag: v2.3.7c1~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3506024d89e2837b26c0dc9ad71cd17e65cc7cb;p=thirdparty%2FPython%2Fcpython.git SF patch #1556895; Typo in encoding name in email package. Patch supplied by Guillaume Rousse. --- diff --git a/Lib/email/Charset.py b/Lib/email/Charset.py index fb4e5a9b185d..0751abfb94ed 100644 --- a/Lib/email/Charset.py +++ b/Lib/email/Charset.py @@ -1,5 +1,5 @@ -# Copyright (C) 2001-2006 Python Software Foundation -# Author: che@debian.org (Ben Gertzfield), barry@python.org (Barry Warsaw) +# Copyright (C) 2001-2007 Python Software Foundation +# Author: email-sig@python.org from types import UnicodeType from email.Encoders import encode_7or8bit @@ -99,7 +99,7 @@ ALIASES = { # of stability and useability. CODEC_MAP = { - 'gb2132': 'eucgb2312_cn', + 'gb2312': 'eucgb2312_cn', 'big5': 'big5_tw', 'utf-8': 'utf-8', # Hack: We don't want *any* conversion for stuff marked us-ascii, as all diff --git a/Lib/email/__init__.py b/Lib/email/__init__.py index 1e03b0085f76..1531140e6d39 100644 --- a/Lib/email/__init__.py +++ b/Lib/email/__init__.py @@ -1,9 +1,9 @@ -# Copyright (C) 2001-2006 Python Software Foundation -# Author: barry@python.org (Barry Warsaw) +# Copyright (C) 2001-2007 Python Software Foundation +# Author: email-sig@python.org """A package for parsing, handling, and generating email messages.""" -__version__ = '2.5.8' +__version__ = '2.5.9' __all__ = [ 'base64MIME',