Commit 3eddc6c8 authored by Jim Fulton's avatar Jim Fulton

Responses no longer are responsible for aborting transactions.

parent f3ef3caa
......@@ -84,8 +84,8 @@
##############################################################################
'''CGI Response Output formatter
$Id: HTTPResponse.py,v 1.28 2000/05/26 15:31:47 shane Exp $'''
__version__='$Revision: 1.28 $'[11:-2]
$Id: HTTPResponse.py,v 1.29 2000/06/02 20:07:05 jim Exp $'''
__version__='$Revision: 1.29 $'[11:-2]
import string, types, sys, regex
from string import find, rfind, lower, upper, strip, split, join, translate
......@@ -577,11 +577,6 @@ class HTTPResponse(BaseResponse):
stb=tb
# Abort running transaction, if any
if abort:
try: get_transaction().abort()
except: pass
try:
# Try to capture exception info for bci calls
et=translate(str(t),nl2sp)
......
......@@ -192,10 +192,6 @@ class Response:
if type(info) is type(()) and len(info)==3: t,v,tb = info
else: t,v,tb = sys.exc_info()
# Abort running transaction, if any:
try: get_transaction().abort()
except: pass
# Create an appropriate Fault object. Unfortunately, we throw away
# most of the debugging information. More useful error reporting is
# left as an exercise for the reader.
......
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