diff options
Diffstat (limited to 'dev-lang/python/files/python-2.6_turkish.patch')
-rw-r--r-- | dev-lang/python/files/python-2.6_turkish.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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(':', '.') |