Commit f3ef3caa authored by Jim Fulton's avatar Jim Fulton

No longer need to worry about whether response.exception aborts,

because it no longer does. :)
parent 12b47a3c
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# #
############################################################################## ##############################################################################
__version__='$Revision: 1.33 $'[11:-2] __version__='$Revision: 1.34 $'[11:-2]
import regex, sys, os, string import regex, sys, os, string
from string import lower, atoi, rfind, split, strip, join, upper, find from string import lower, atoi, rfind, split, strip, join, upper, find
...@@ -652,7 +652,7 @@ class HTTPRequest(BaseRequest): ...@@ -652,7 +652,7 @@ class HTTPRequest(BaseRequest):
# (which is usually the default when the exception # (which is usually the default when the exception
# method is called on the response). # method is called on the response).
try: object=req.traverse(path) try: object=req.traverse(path)
except: rsp.exception(abort=0) except: rsp.exception()
if object is None: if object is None:
req.close() req.close()
raise rsp.errmsg, sys.exc_info()[1] raise rsp.errmsg, sys.exc_info()[1]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment