Fixed #6021 -- Removed some brain damage from SafeString. Not quite sure what I
was smoking there. Thanks, Jan Rademaker. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f3d5372340
commit
b2dbbd5bbc
|
@ -41,9 +41,6 @@ class SafeString(str, SafeData):
|
||||||
else:
|
else:
|
||||||
return super(SafeString, self).__add__(rhs)
|
return super(SafeString, self).__add__(rhs)
|
||||||
|
|
||||||
def __str__(self):
|
|
||||||
return self
|
|
||||||
|
|
||||||
def _proxy_method(self, *args, **kwargs):
|
def _proxy_method(self, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Wrap a call to a normal unicode method up so that we return safe
|
Wrap a call to a normal unicode method up so that we return safe
|
||||||
|
|
Loading…
Reference in New Issue