From 1687b025dc2a03e9ef111b8fd3db63fce48b77b7 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Fri, 21 Jul 2006 20:48:17 +0000 Subject: Part 3 of pedant day: replaced all tabs in Django with spaces. Python the way Guido intended it, baby! git-svn-id: http://code.djangoproject.com/svn/django/trunk@3415 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/template/defaultfilters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/template') diff --git a/django/template/defaultfilters.py b/django/template/defaultfilters.py index bd9f55b1e9..c75f371ec8 100644 --- a/django/template/defaultfilters.py +++ b/django/template/defaultfilters.py @@ -438,7 +438,7 @@ def pluralize(value, arg='s'): the comma is used for the singular case. """ if not ',' in arg: - arg = ',' + arg + arg = ',' + arg bits = arg.split(',') if len(bits) > 2: return '' -- cgit v1.3