Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #5960 -- Fixed some Python 2.3 incompatibilities.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ce73298e26b903080ae1b7e67a1a9d1ec0c5108a 1 parent 4bd75e8
Malcolm Tredinnick authored November 17, 2007

Showing 1 changed file with 0 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  django/utils/safestring.py
2  django/utils/safestring.py
@@ -57,7 +57,6 @@ def _proxy_method(self, *args, **kwargs):
57 57
         else:
58 58
             return SafeUnicode(data)
59 59
 
60  
-    encode = curry(_proxy_method, method = str.encode)
61 60
     decode = curry(_proxy_method, method = str.decode)
62 61
 
63 62
 class SafeUnicode(unicode, SafeData):
@@ -89,7 +88,6 @@ def _proxy_method(self, *args, **kwargs):
89 88
             return SafeUnicode(data)
90 89
 
91 90
     encode = curry(_proxy_method, method = unicode.encode)
92  
-    decode = curry(_proxy_method, method = unicode.decode)
93 91
 
94 92
 def mark_safe(s):
95 93
     """

0 notes on commit ce73298

Please sign in to comment.
Something went wrong with that request. Please try again.