File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -86,13 +86,12 @@ def select_l10n_mappings(beta_version):
86
86
Args:
87
87
beta_version: the current beta version.
88
88
"""
89
- # beta_split = (beta_version % 3) + 1
90
- # if os.path.exists(f"l10n_CM/beta_run_splits/l10n_split_{beta_split}.json"):
91
- # with open(f"l10n_CM/beta_run_splits/l10n_split_{beta_split}.json", "r") as f:
92
- # current_split_mappings = {k: set(v) for k, v in json.load(f).items()}
93
- # return current_split_mappings
94
- # else:
95
- # return valid_l10n_mappings()
89
+ # beta_split = (beta_version % 3) + 1
90
+ # if os.path.exists(f"l10n_CM/beta_run_splits/l10n_split_{beta_split}.json"):
91
+ # with open(f"l10n_CM/beta_run_splits/l10n_split_{beta_split}.json", "r") as f:
92
+ # current_split_mappings = {k: set(v) for k, v in json.load(f).items()}
93
+ # return current_split_mappings
94
+ # else:
96
95
return valid_l10n_mappings ()
97
96
98
97
@@ -188,5 +187,5 @@ def select_l10n_mappings(beta_version):
188
187
selected_mappings |= sample_mappings
189
188
break
190
189
191
- save_mappings (l10n_mappings )
190
+ save_mappings (selected_mappings )
192
191
sys .exit (0 )
You can’t perform that action at this time.
0 commit comments