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:
Malcolm Tredinnick 2007-12-01 20:08:45 +00:00
parent f3d5372340
commit b2dbbd5bbc
1 changed files with 0 additions and 3 deletions

View File

@ -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