[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPResponse.py:1.70
Jeremy Hylton
jeremy@zope.com
Tue, 24 Sep 2002 18:13:27 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv19182
Modified Files:
HTTPResponse.py
Log Message:
_encode_unicode() is a method not a function.
Caught by pychecker.
=== Zope/lib/python/ZPublisher/HTTPResponse.py 1.69 => 1.70 ===
--- Zope/lib/python/ZPublisher/HTTPResponse.py:1.69 Tue Aug 20 23:09:31 2002
+++ Zope/lib/python/ZPublisher/HTTPResponse.py Tue Sep 24 18:13:26 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