changeset 2539:1c873c0165f3

More PEP8 fixes
author sharky93 <rishabhr123@gmail.com>
date Sun, 22 Sep 2013 23:06:25 +0530
parents 008e9d6e2040
children 99ecf78cf7ed
files MoinMoin/apps/frontend/views.py
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Sun Sep 22 22:56:09 2013 +0530
+++ b/MoinMoin/apps/frontend/views.py	Sun Sep 22 23:06:25 2013 +0530
@@ -322,21 +322,21 @@
                 word_suggestions = corrector.suggest(lastword, limit=3)
             if ajax:
                 html = render_template('ajaxsearch.html',
-                                        results=results,
-                                        word_suggestions=u', '.join(word_suggestions),
-                                        name_suggestions=u', '.join(name_suggestions),
-                                        content_suggestions=u', '.join(content_suggestions),
-                                        omitted_words=u', '.join(omitted_words),
+                                       results=results,
+                                       word_suggestions=u', '.join(word_suggestions),
+                                       name_suggestions=u', '.join(name_suggestions),
+                                       content_suggestions=u', '.join(content_suggestions),
+                                       omitted_words=u', '.join(omitted_words),
                 )
             else:
                 html = render_template('search.html',
-                                        results=results,
-                                        name_suggestions=u', '.join(name_suggestions),
-                                        content_suggestions=u', '.join(content_suggestions),
-                                        query=query,
-                                        medium_search_form=search_form,
-                                        item_name=item_name,
-                                        omitted_words=u', '.join(omitted_words),
+                                       results=results,
+                                       name_suggestions=u', '.join(name_suggestions),
+                                       content_suggestions=u', '.join(content_suggestions),
+                                       query=query,
+                                       medium_search_form=search_form,
+                                       item_name=item_name,
+                                       omitted_words=u', '.join(omitted_words),
                 )
             flaskg.clock.stop('search render')
     else: