mirror of
https://github.com/django/django.git
synced 2025-01-27 10:39:40 +00:00
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:
parent
637a70fa7b
commit
81bf5e3950
@ -110,8 +110,7 @@ class CompatCookie(SimpleCookie):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CompatCookie, self).__init__(*args, **kwargs)
|
||||
import warnings
|
||||
warnings.warn("CompatCookie is deprecated, use django.http.SimpleCookie instead.",
|
||||
DeprecationWarning)
|
||||
warnings.warn("CompatCookie is deprecated. Use django.http.SimpleCookie instead.", DeprecationWarning)
|
||||
|
||||
from django.conf import settings
|
||||
from django.core import signing
|
||||
|
Loading…
x
Reference in New Issue
Block a user