Fixed comma splice in DeprecationWarning for CompatCookie

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2011-12-17 02:37:26 +00:00
parent 637a70fa7b
commit 81bf5e3950
1 changed files with 1 additions and 2 deletions

View File

@ -110,8 +110,7 @@ class CompatCookie(SimpleCookie):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(CompatCookie, self).__init__(*args, **kwargs) super(CompatCookie, self).__init__(*args, **kwargs)
import warnings import warnings
warnings.warn("CompatCookie is deprecated, use django.http.SimpleCookie instead.", warnings.warn("CompatCookie is deprecated. Use django.http.SimpleCookie instead.", DeprecationWarning)
DeprecationWarning)
from django.conf import settings from django.conf import settings
from django.core import signing from django.core import signing