on master help sign in
Merge pull request #629 from stepshal/E305

Add missing blank lines after class or function definition.

commit31866d9f3357683949971b62d44e01b3d73befe1 authorAdam Tauber <asciimoo@gmail.com> dateThu 11 Aug 2016, 13:33 (10 years ago) parent827aba47e16c9d
3 files changed+4
searx/engines/archlinux.py+2 searx/engines/soundcloud.py+1 utils/fetch_currencies.py+1
searx/engines/archlinux.py+2
@@ -34,6 +34,7 @@ def locale_to_lang_code(locale):
3434 locale = locale.split('_')[0]
3535 return locale
3636
37+
3738# wikis for some languages were moved off from the main site, we need to make
3839# requests to correct URLs to be able to get results in those languages
3940lang_urls = {
@@ -70,6 +71,7 @@ def get_lang_urls(language):
7071 return lang_urls[language]
7172 return lang_urls['all']
7273
74+
7375# Language names to build search requests for
7476# those languages which are hosted on the main site.
7577main_langs = {
searx/engines/soundcloud.py+1
@@ -57,6 +57,7 @@ def get_client_id():
5757 logger.warning("Unable to fetch guest client_id from SoundCloud, check parser!")
5858 return ""
5959
60+
6061# api-key
6162guest_client_id = get_client_id()
6263
utils/fetch_currencies.py+1
@@ -142,6 +142,7 @@ def wd_query(query, offset=0):
142142 qlist.append(r.get('title', ''))
143143 fetch_data_batch(qlist)
144144
145+
145146# fetch #
146147for q in wmflabs_queries:
147148 wdq_query(q)