[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPResponse.py:1.69.4.1
Jeremy Hylton
jeremy@zope.com
Wed, 25 Sep 2002 12:06:26 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv26295
Modified Files:
Tag: Zope-2_6-branch
HTTPResponse.py
Log Message:
Backport: _encode_unicode() is a method not a function.
=== Zope/lib/python/ZPublisher/HTTPResponse.py 1.69 => 1.69.4.1 ===
--- Zope/lib/python/ZPublisher/HTTPResponse.py:1.69 Tue Aug 20 23:09:31 2002
+++ Zope/lib/python/ZPublisher/HTTPResponse.py Wed Sep 25 12:06:25 2002
@@ -290,7 +290,7 @@
try:
body = str(body)
except UnicodeError:
- body = _encode_unicode(unicode(body))
+ body = self._encode_unicode(unicode(body))
l = len(body)
if ((l < 200) and body[:1] == '<' and body.find('>') == l-1 and