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

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

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

+ 1
- 0
utils/fetch_currencies.py View File

142
         qlist.append(r.get('title', ''))
142
         qlist.append(r.get('title', ''))
143
     fetch_data_batch(qlist)
143
     fetch_data_batch(qlist)
144
 
144
 
145
+
145
 # fetch #
146
 # fetch #
146
 for q in wmflabs_queries:
147
 for q in wmflabs_queries:
147
     wdq_query(q)
148
     wdq_query(q)