summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-16 00:49:23 +0700
committerstepshal <nessento@openmailbox.org>2016-08-11 17:18:12 +0700
commit7e16c9d3602eb7e545c3452a6778c31d59e5c56d (patch)
treeed6dd5ac05ee67f01b0315de109aea23ce569df7
parent27f4373124bcd80f975b85079eac871b97b56b15 (diff)
Add missing blank lines after class or function definition.
-rw-r--r--searx/engines/archlinux.py2
-rw-r--r--searx/engines/soundcloud.py1
-rw-r--r--utils/fetch_currencies.py1
3 files changed, 4 insertions, 0 deletions
diff --git a/searx/engines/archlinux.py b/searx/engines/archlinux.py
index 84e0d0fba..b846934f7 100644
--- a/searx/engines/archlinux.py
+++ b/searx/engines/archlinux.py
@@ -34,6 +34,7 @@ def locale_to_lang_code(locale):
locale = locale.split('_')[0]
return locale
+
# wikis for some languages were moved off from the main site, we need to make
# requests to correct URLs to be able to get results in those languages
lang_urls = {
@@ -70,6 +71,7 @@ def get_lang_urls(language):
return lang_urls[language]
return lang_urls['all']
+
# Language names to build search requests for
# those languages which are hosted on the main site.
main_langs = {
diff --git a/searx/engines/soundcloud.py b/searx/engines/soundcloud.py
index ac23c1e83..62b03ac03 100644
--- a/searx/engines/soundcloud.py
+++ b/searx/engines/soundcloud.py
@@ -57,6 +57,7 @@ def get_client_id():
logger.warning("Unable to fetch guest client_id from SoundCloud, check parser!")
return ""
+
# api-key
guest_client_id = get_client_id()
diff --git a/utils/fetch_currencies.py b/utils/fetch_currencies.py
index 47f732163..716b505ee 100644
--- a/utils/fetch_currencies.py
+++ b/utils/fetch_currencies.py
@@ -142,6 +142,7 @@ def wd_query(query, offset=0):
qlist.append(r.get('title', ''))
fetch_data_batch(qlist)
+
# fetch #
for q in wmflabs_queries:
wdq_query(q)