summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2011-12-17 02:37:26 +0000
committerAdrian Holovaty <adrian@holovaty.com>2011-12-17 02:37:26 +0000
commit81bf5e395083f9bc9b6bca28dc1707064bff22a7 (patch)
treed33b80766aeeb341d991907494989420cd7b1001
parent637a70fa7bad163de70bf4493b1ea73dd2147240 (diff)
Fixed comma splice in DeprecationWarning for CompatCookie
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/http/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/http/__init__.py b/django/http/__init__.py
index 93142d9200..14570d7cc0 100644
--- a/django/http/__init__.py
+++ b/django/http/__init__.py
@@ -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