logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 455ff25a9326691bf01a644a91ace9f314d9024c
parent: 017c85c447f5ffb976ceae58bf66964022c6fe0a
Author: asciimoo <asciimoo@gmail.com>
Date:   Fri, 31 Jan 2014 16:17:49 +0100

[fix] pep8

Diffstat:

Msearx/tests/test_webapp.py4++--
Msearx/webapp.py2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/searx/tests/test_webapp.py b/searx/tests/test_webapp.py @@ -83,8 +83,8 @@ class ViewsTestCase(SearxTestCase): self.assertEqual( 'title,url,content,host,engine,score\r\n' - 'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n' - 'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n', + 'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n' # noqa + 'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n', # noqa result.data ) diff --git a/searx/webapp.py b/searx/webapp.py @@ -252,7 +252,7 @@ def list_engines(): """ return render('engines.html', categs=categories.items(), - shortcuts={y:x for x,y in engine_shortcuts.items()}) + shortcuts={y: x for x, y in engine_shortcuts.items()}) @app.route('/preferences', methods=['GET', 'POST'])