Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed comma splice in DeprecationWarning for CompatCookie

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 81bf5e395083f9bc9b6bca28dc1707064bff22a7 1 parent 637a70f
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/http/__init__.py
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.