commit bfa84722b17dc65f0b78bcb396658f9f134219e2
parent 2d3bb21342998da5029a6759d30c97a3653dd81f
Author: Julien Cristau <jcristau@mozilla.com>
Date: Wed, 10 Dec 2025 13:12:27 +0000
Bug 2005180 - fix beetmover-repackage-rpm task definition. r=releng-reviewers,taskgraph-reviewers,Eijebong
As far as I can tell commit 040998e094c0 "Bug 2003412 - Fix PLR1704 warnings:
Avoid redefining argument with local variable" didn't account for the addition
of not_for_locales in commit 00f0efca2df3 "Bug 1999650 - Add `not_for_locales`
support to beetmover manifests.", so we ended up checking the wrong `locale`
variable and adding a nonexistent en-US langpack rpm to the upstream artifacts.
Differential Revision: https://phabricator.services.mozilla.com/D275773
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/taskcluster/gecko_taskgraph/util/scriptworker.py b/taskcluster/gecko_taskgraph/util/scriptworker.py
@@ -555,7 +555,7 @@ def generate_beetmover_upstream_artifacts(
continue
if (
"not_for_locales" in map_config["mapping"][filename]
- and locale in map_config["mapping"][filename]["not_for_locales"]
+ and current_locale in map_config["mapping"][filename]["not_for_locales"]
):
continue
if "partials_only" in map_config["mapping"][filename]: