From f2d7ee759a8f17c70e8a924b6da30f86feee50ae Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Sat, 30 Aug 2008 19:25:40 +0000 Subject: Fixed #8710: removed a few stray tabs. Thanks, gkelly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8746 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/sites/tests.py | 2 +- django/utils/text.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'django') diff --git a/django/contrib/sites/tests.py b/django/contrib/sites/tests.py index f39f7a2c82..b607f021d5 100644 --- a/django/contrib/sites/tests.py +++ b/django/contrib/sites/tests.py @@ -2,7 +2,7 @@ >>> from django.contrib.sites.models import Site >>> from django.conf import settings >>> Site(id=settings.SITE_ID, domain="example.com", name="example.com").save() - + >>> # Make sure that get_current() does not return a deleted Site object. >>> s = Site.objects.get_current() >>> isinstance(s, Site) diff --git a/django/utils/text.py b/django/utils/text.py index 3686a454a8..1548cfa77e 100644 --- a/django/utils/text.py +++ b/django/utils/text.py @@ -207,10 +207,10 @@ def smart_split(text): >>> list(smart_split(r'This is "a person\'s" test.')) [u'This', u'is', u'"a person\\\'s"', u'test.'] - >>> list(smart_split(r"Another 'person\'s' test.")) - [u'Another', u"'person's'", u'test.'] - >>> list(smart_split(r'A "\"funky\" style" test.')) - [u'A', u'""funky" style"', u'test.'] + >>> list(smart_split(r"Another 'person\'s' test.")) + [u'Another', u"'person's'", u'test.'] + >>> list(smart_split(r'A "\"funky\" style" test.')) + [u'A', u'""funky" style"', u'test.'] """ text = force_unicode(text) for bit in smart_split_re.finditer(text): -- cgit v1.3