Author: mtredinnick
Date: 2007-11-17 06:58:06 -0600 (Sat, 17 Nov 2007)
New Revision: 6685

Modified:
   django/trunk/django/utils/safestring.py
Log:
Fixed #5960 -- Fixed some Python 2.3 incompatibilities.


Modified: django/trunk/django/utils/safestring.py
===================================================================
--- django/trunk/django/utils/safestring.py     2007-11-17 12:18:09 UTC (rev 
6684)
+++ django/trunk/django/utils/safestring.py     2007-11-17 12:58:06 UTC (rev 
6685)
@@ -57,7 +57,6 @@
         else:
             return SafeUnicode(data)
 
-    encode = curry(_proxy_method, method = str.encode)
     decode = curry(_proxy_method, method = str.decode)
 
 class SafeUnicode(unicode, SafeData):
@@ -89,7 +88,6 @@
             return SafeUnicode(data)
 
     encode = curry(_proxy_method, method = unicode.encode)
-    decode = curry(_proxy_method, method = unicode.decode)
 
 def mark_safe(s):
     """


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to