[fix] pep8

This commit is contained in:
asciimoo 2014-01-31 16:17:49 +01:00
parent 017c85c447
commit 455ff25a93
2 changed files with 3 additions and 3 deletions

View File

@ -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
)

View File

@ -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'])