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:
John Ralls 2015-09-27 11:08:29 -07:00
parent 29624713c4
commit d4c7950cc5

View File

@ -149,7 +149,7 @@ def mac_setup_localization(glocale):
locale = None
calendar = None
currency = None
div = locale_string.strip().split(b"@")
div = locale_string.strip().split("@")
LOG.debug("Checking Locale %s", ' '.join(div))
locale = glocale.check_available_translations(div[0])
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.numeric = locale.getlocale(locale.LC_NUMERIC)[0] or glocale.lang