Browse Source

Merge pull request #629 from stepshal/E305

Add missing blank lines after class or function definition.
Adam Tauber 8 years ago
parent
commit
31866d9f33
3 changed files with 4 additions and 0 deletions
  1. 2
    0
      searx/engines/archlinux.py
  2. 1
    0
      searx/engines/soundcloud.py
  3. 1
    0
      utils/fetch_currencies.py

+ 2
- 0
searx/engines/archlinux.py View File

@@ -34,6 +34,7 @@ def locale_to_lang_code(locale):
34 34
         locale = locale.split('_')[0]
35 35
     return locale
36 36
 
37
+
37 38
 # wikis for some languages were moved off from the main site, we need to make
38 39
 # requests to correct URLs to be able to get results in those languages
39 40
 lang_urls = {
@@ -70,6 +71,7 @@ def get_lang_urls(language):
70 71
         return lang_urls[language]
71 72
     return lang_urls['all']
72 73
 
74
+
73 75
 # Language names to build search requests for
74 76
 # those languages which are hosted on the main site.
75 77
 main_langs = {

+ 1
- 0
searx/engines/soundcloud.py View File

@@ -57,6 +57,7 @@ def get_client_id():
57 57
     logger.warning("Unable to fetch guest client_id from SoundCloud, check parser!")
58 58
     return ""
59 59
 
60
+
60 61
 # api-key
61 62
 guest_client_id = get_client_id()
62 63
 

+ 1
- 0
utils/fetch_currencies.py View File

@@ -142,6 +142,7 @@ def wd_query(query, offset=0):
142 142
         qlist.append(r.get('title', ''))
143 143
     fetch_data_batch(qlist)
144 144
 
145
+
145 146
 # fetch #
146 147
 for q in wmflabs_queries:
147 148
     wdq_query(q)