Bug 8929 - Installation from DMG (binary) file and port file fail.
Cause was a stray bytes qualifier in the split character.
This commit is contained in:
parent
29624713c4
commit
d4c7950cc5
@ -149,7 +149,7 @@ def mac_setup_localization(glocale):
|
|||||||
locale = None
|
locale = None
|
||||||
calendar = None
|
calendar = None
|
||||||
currency = None
|
currency = None
|
||||||
div = locale_string.strip().split(b"@")
|
div = locale_string.strip().split("@")
|
||||||
LOG.debug("Checking Locale %s", ' '.join(div))
|
LOG.debug("Checking Locale %s", ' '.join(div))
|
||||||
locale = glocale.check_available_translations(div[0])
|
locale = glocale.check_available_translations(div[0])
|
||||||
if len(div) > 1:
|
if len(div) > 1:
|
||||||
@ -298,6 +298,3 @@ def mac_setup_localization(glocale):
|
|||||||
glocale.currency = locale.getlocale(locale.LC_MONETARY)[0] or glocale.lang
|
glocale.currency = locale.getlocale(locale.LC_MONETARY)[0] or glocale.lang
|
||||||
|
|
||||||
glocale.numeric = locale.getlocale(locale.LC_NUMERIC)[0] or glocale.lang
|
glocale.numeric = locale.getlocale(locale.LC_NUMERIC)[0] or glocale.lang
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user