From a95e3eb0b42e62ca6156aa308294d8646b528c7e Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Fri, 26 May 2017 11:24:40 +0900 Subject: [PATCH] Bug 1365419 - Fixup l10n packager after bug 780562. r=gps The change to l10n packager from bug 780562 worked in practice because no chrome category had exclusively manifest entries with flags, which we're changing in this bug. It turns out this was only due to a missing change in the patch for bug 780562. --HG-- extra : rebase_source : 3c8c31c37d8fb48bb99b1758bcd8ef5f32c71fe0 --- python/mozbuild/mozpack/packager/l10n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mozbuild/mozpack/packager/l10n.py b/python/mozbuild/mozpack/packager/l10n.py index b2fbe633f840..c846ef114265 100644 --- a/python/mozbuild/mozpack/packager/l10n.py +++ b/python/mozbuild/mozpack/packager/l10n.py @@ -139,7 +139,7 @@ def _repack(app_finder, l10n_finder, copier, formatter, non_chrome=set()): errors.fatal("Locale doesn't contain %s/" % base) # Allow errors to accumulate continue - if e.name not in l10n_paths[base]: + if key(e) not in l10n_paths[base]: errors.fatal("Locale doesn't have a manifest entry for '%s'" % e.name) # Allow errors to accumulate