Skip to content
Snippets Groups Projects
Unverified Commit 1367b0cf authored by Feanil Patel's avatar Feanil Patel
Browse files

Move the unicode_compatible decorator to the class.

parent 65eebe63
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,7 @@ class SafeCookieError(Exception):
log.error(error_message)
@python_2_unicode_compatible
class SafeCookieData(object):
"""
Cookie data that cryptographically binds and timestamps the user
......@@ -162,7 +163,6 @@ class SafeCookieData(object):
))
return safe_cookie_data
@python_2_unicode_compatible
def __str__(self):
"""
Returns a string serialization of the safe cookie data.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment