Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mozharness/abb/transform_locales.py

Issue 29329018: Issue 3128 - The default search engine is removed if it was one of those removed by issue 3047 (moz… (Closed)
Patch Set: Removed list.txt write back Created Oct. 12, 2015, 12:59 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mozharness/abb/transform_locales.py
diff --git a/mozharness/abb/transform_locales.py b/mozharness/abb/transform_locales.py
index 24abae7320b550b1657c557025246be5b12c29af..c09a00044fbb8c081292922b8754c24992599e0e 100644
--- a/mozharness/abb/transform_locales.py
+++ b/mozharness/abb/transform_locales.py
@@ -136,12 +136,9 @@ def _transform_locale(locale, path, logger):
props.append("browser.search.defaultenginename=%s" % engine_order[0])
# Append search engine order
- for i in range(0, min(3, len(engine_order))):
+ for i in range(0, min(5, len(engine_order))):
props.append("browser.search.order.%d=%s" % (i + 1, engine_order[i]))
- # Write back list.txt
- _write_lines(list_file_path, engine_ids)
-
# Write back region.properties
_write_lines(region_file_path, props)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld