[Zope-Checkins] CVS: Zope2 - HTTPResponse.py:1.45
Jim Fulton
jim@digicool.com
Sat, 7 Apr 2001 12:07:10 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/ZPublisher
In directory korak:/tmp/cvs-serv8462
Modified Files:
HTTPResponse.py
Log Message:
I hate source lines longer than 79 charcaters almost as much
as I hate line-continuation characters.
--- Updated File HTTPResponse.py in package Zope2 --
--- HTTPResponse.py 2001/04/07 16:01:29 1.44
+++ HTTPResponse.py 2001/04/07 16:07:09 1.45
@@ -524,7 +524,8 @@
<UL>
<LI>The URL may be incorrect.</LI>
<LI>The parameters passed to this resource may be incorrect.</LI>
- <LI>A resource that this resource relies on may be encountering an error.</LI>
+ <LI>A resource that this resource relies on may be
+ encountering an error.</LI>
</UL>
<P>For more detailed information about the error, please
@@ -665,7 +666,8 @@
self._traceback(t,v,tb)),
is_error=1)
- elif lower(strip(b)[:6])=='<html>' or lower(strip(b)[:14])=='<!doctype html':
+ elif (lower(strip(b)[:6])=='<html>' or
+ lower(strip(b)[:14])=='<!doctype html'):
# error is an HTML document, not just a snippet of html
tb=self.setBody(b + self._traceback(t,'(see above)',tb),
is_error=1)