diff options
author | Jesus Rivero <neurogeek@gentoo.org> | 2009-01-22 01:13:20 +0000 |
---|---|---|
committer | Jesus Rivero <neurogeek@gentoo.org> | 2009-01-22 01:13:20 +0000 |
commit | 7694a38a8ff003444b8a50d58fe673c31ce50e04 (patch) | |
tree | c4b9b174a432ead1c054504262cdebda6fbf37bc /dev-lang/python/files | |
parent | Fix missing locales, bug #255155. (diff) | |
download | gentoo-2-7694a38a8ff003444b8a50d58fe673c31ce50e04.tar.gz gentoo-2-7694a38a8ff003444b8a50d58fe673c31ce50e04.tar.bz2 gentoo-2-7694a38a8ff003444b8a50d58fe673c31ce50e04.zip |
Rev bump. Patch bundle updated to fix turkish locale patch. Updated older patches too and removed previous version.
(Portage version: 2.2_rc16/cvs/Linux 2.6.18-gentoo-r3 i686)
Diffstat (limited to 'dev-lang/python/files')
-rw-r--r-- | dev-lang/python/files/python-2.5.2_turkish.patch | 2 | ||||
-rw-r--r-- | dev-lang/python/files/python-2.6_turkish.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/python/files/python-2.5.2_turkish.patch b/dev-lang/python/files/python-2.5.2_turkish.patch index 684a223e8bcb..2685e87a3851 100644 --- a/dev-lang/python/files/python-2.5.2_turkish.patch +++ b/dev-lang/python/files/python-2.5.2_turkish.patch @@ -79,7 +79,7 @@ diff -uNr Python-2.5.2.orig/Lib/locale.py Python-2.5.2/Lib/locale.py """ # Normalize the locale name and extract the encoding - fullname = localename.lower() -+ fullname = localename.translate(_ascii_lower_map) ++ fullname = localename.encode('ascii').translate(_ascii_lower_map) if ':' in fullname: # ':' is sometimes used as encoding delimiter. fullname = fullname.replace(':', '.') diff --git a/dev-lang/python/files/python-2.6_turkish.patch b/dev-lang/python/files/python-2.6_turkish.patch index 2eb50527eed7..479c3c3738ef 100644 --- a/dev-lang/python/files/python-2.6_turkish.patch +++ b/dev-lang/python/files/python-2.6_turkish.patch @@ -72,7 +72,7 @@ diff -uNr Python-2.6.1.orig/Lib/locale.py Python-2.6.1/Lib/locale.py """ # Normalize the locale name and extract the encoding - fullname = localename.lower() -+ fullname = localename.translate(_ascii_lower_map) ++ fullname = localename.encode('ascii').translate(_ascii_lower_map) if ':' in fullname: # ':' is sometimes used as encoding delimiter. fullname = fullname.replace(':', '.') |