Index: mozharness/abb/transform_locales.py |
=================================================================== |
--- a/mozharness/abb/transform_locales.py |
+++ b/mozharness/abb/transform_locales.py |
@@ -201,18 +201,18 @@ def _transform_locale(locale, path, logg |
if len(engine_ids) == 0: |
logger.fatal("No search engines left over for '%s'" % locale) |
# 'Parse' XML to get matching 'ShortName' for all engine IDs |
engine_names = {} |
for eid in engine_ids[:]: |
xml_file_path = os.path.join(path, _SEARCHPLUGINS_PATH, "%s.xml" % eid) |
if not os.path.exists(xml_file_path): |
- logger.info("Missing xml file for plugin %s. Searched in path %s" |
- % eid, xml_file_path) |
+ logger.info("Missing xml file for plugin %s. Searched in path %s" % |
+ (eid, xml_file_path)) |
engine_ids.remove(eid) |
continue |
short_name = None |
with open(xml_file_path, "r") as fd: |
for line in fd: |
line = line.strip() |
match = _SHORTNAME_RE.match(line) |
if match: |