Skip to content

Commit

Permalink
Fixed #5960 -- Fixed some Python 2.3 incompatibilities.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Nov 17, 2007
1 parent 4bd75e8 commit ce73298
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django/utils/safestring.py
Expand Up @@ -57,7 +57,6 @@ def _proxy_method(self, *args, **kwargs):
else:
return SafeUnicode(data)

encode = curry(_proxy_method, method = str.encode)
decode = curry(_proxy_method, method = str.decode)

class SafeUnicode(unicode, SafeData):
Expand Down Expand Up @@ -89,7 +88,6 @@ def _proxy_method(self, *args, **kwargs):
return SafeUnicode(data)

encode = curry(_proxy_method, method = unicode.encode)
decode = curry(_proxy_method, method = unicode.decode)

def mark_safe(s):
"""
Expand Down

0 comments on commit ce73298

Please sign in to comment.