[r22023]MacLocale: Fix missing subscript.
svn: r22040
This commit is contained in:
parent
c032fc8dae
commit
f2d7e62fc0
@ -162,7 +162,7 @@ def mac_setup_localization(glocale):
|
|||||||
collation = div[0]
|
collation = div[0]
|
||||||
qualifier = None
|
qualifier = None
|
||||||
if len(div) > 1:
|
if len(div) > 1:
|
||||||
parts = div.split(b"=")
|
parts = div[1].split(b"=")
|
||||||
if len(parts) == 2 and parts[0] == 'collation':
|
if len(parts) == 2 and parts[0] == 'collation':
|
||||||
qualifier = parts[1]
|
qualifier = parts[1]
|
||||||
return (collation, qualifier)
|
return (collation, qualifier)
|
||||||
|
Loading…
Reference in New Issue
Block a user