[r22023]MacLocale: Fix missing subscript.

svn: r22040
This commit is contained in:
John Ralls 2013-04-20 23:22:31 +00:00
parent c032fc8dae
commit f2d7e62fc0

View File

@ -162,7 +162,7 @@ def mac_setup_localization(glocale):
collation = div[0]
qualifier = None
if len(div) > 1:
parts = div.split(b"=")
parts = div[1].split(b"=")
if len(parts) == 2 and parts[0] == 'collation':
qualifier = parts[1]
return (collation, qualifier)