summaryrefslogtreecommitdiff
path: root/django/http/cookie.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/http/cookie.py')
-rw-r--r--django/http/cookie.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/http/cookie.py b/django/http/cookie.py
index 3bd9065d3a..a3dbd2a0b2 100644
--- a/django/http/cookie.py
+++ b/django/http/cookie.py
@@ -1,11 +1,11 @@
from __future__ import unicode_literals
+
import sys
-from django.utils.encoding import force_str
from django.utils import six
+from django.utils.encoding import force_str
from django.utils.six.moves import http_cookies
-
# Some versions of Python 2.7 and later won't need this encoding bug fix:
_cookie_encodes_correctly = http_cookies.SimpleCookie().value_encode(';') == (';', '"\\073"')
# See ticket #13007, http://bugs.python.org/issue2193 and http://trac.edgewall.org/ticket/2256