Bug 1619816 - Add PYTHONIOENCODING to desktop_l10n.py; r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D65272

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Shal 2020-03-04 04:21:10 +00:00
parent 47544446ce
commit 7ea7573d6b

View File

@ -370,6 +370,7 @@ class DesktopSingleLocale(LocalesMixin, AutomationMixin,
def make_installers(self, locale):
"""wrapper for make installers-(locale)"""
env = self.query_l10n_env()
env['PYTHONIOENCODING'] = 'utf-8'
self._copy_mozconfig()
dirs = self.query_abs_dirs()
cwd = os.path.join(dirs['abs_locales_dir'])