summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/views/base.py
diff options
context:
space:
mode:
authorNate Case <ncase@xes-inc.com>2008-08-23 11:03:18 +0800
committerJeremy Kerr <jk@ozlabs.org>2008-08-23 11:03:18 +0800
commit05d26756d7e7f254d5631a0649aeac5fd3a58ca8 (patch)
treed40b4861766912d9a15cd412f5df7b4d3bd1452d /apps/patchwork/views/base.py
parent04767c65175f2a76127cd78649c5d92a82a39bb6 (diff)
downloadpatchwork-05d26756d7e7f254d5631a0649aeac5fd3a58ca8.tar.bz2
patchwork-05d26756d7e7f254d5631a0649aeac5fd3a58ca8.tar.xz
In some places tabs are used instead of spaces for indentation,
even when other lines of a method are indented with spaces. This gets rid of all tabs and uses spaces everywhere. [Reworked to apply on newer code by Jeremy] Signed-off-by: Nate Case <ncase@xes-inc.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/views/base.py')
-rw-r--r--apps/patchwork/views/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/patchwork/views/base.py b/apps/patchwork/views/base.py
index b3b1c12..a09ced0 100644
--- a/apps/patchwork/views/base.py
+++ b/apps/patchwork/views/base.py
@@ -60,9 +60,9 @@ def submitter_complete(request):
search = request.GET.get('q', '')
response = HttpResponse(mimetype = "text/plain")
if len(search) > 3:
- queryset = Person.objects.filter(name__icontains = search)
- json_serializer = serializers.get_serializer("json")()
- json_serializer.serialize(queryset, ensure_ascii=False, stream=response)
+ queryset = Person.objects.filter(name__icontains = search)
+ json_serializer = serializers.get_serializer("json")()
+ json_serializer.serialize(queryset, ensure_ascii=False, stream=response)
return response
help_pages = {'': 'index.html', 'about/': 'about.html'}