Lines Matching refs:country
145 def getSearchEnginesForCountry(self, country):
146 """Returns the list of search engine names for the given country.
151 # where XX = country.
152 pos = self.chrome_data.find('engines_' + country)
154 print ('Unable to find search engine data for country ' + country + '.')
199 The new file contains search engines specific to that country. If required
205 print ('Locale must be of format <language>-<country>. For e.g.'
210 country = locale[separator_pos + 1:].upper()
211 dir_path = os.path.join(self.resdir, 'values-' + language + '-r' + country)
213 self.writeEngineList(dir_path, country)
215 def writeEngineList(self, dir_path, country):
220 engines = self.getSearchEnginesForCountry(country)
228 # than 7 search engines for this country, the remaining items are marked as