Commit 8d9bf97c authored by Jim Fulton's avatar Jim Fulton

Refixed the last fix

parent f0d10bd8
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
__doc__="""Python Object Publisher -- Publish Python objects on web servers __doc__="""Python Object Publisher -- Publish Python objects on web servers
$Id: Publish.py,v 1.129 1999/06/16 15:56:20 jim Exp $""" $Id: Publish.py,v 1.130 1999/06/16 18:58:25 jim Exp $"""
__version__='$Revision: 1.129 $'[11:-2] __version__='$Revision: 1.130 $'[11:-2]
import sys, os import sys, os
from string import lower, atoi, rfind, strip from string import lower, atoi, rfind, strip
...@@ -250,9 +250,9 @@ def publish_module(module_name, ...@@ -250,9 +250,9 @@ def publish_module(module_name,
stdout=response.stdout stdout=response.stdout
if request is None: if request is None:
request=Request(stdin, environ, response) request=Request(stdin, environ, response)
response=request.response # could have changed!
finally: finally:
pass pass
response=request.response # could have changed!
response = publish(request, module_name, after_list, debug=debug) response = publish(request, module_name, after_list, debug=debug)
except SystemExit, v: except SystemExit, v:
if hasattr(sys, 'exc_info'): must_die=sys.exc_info() if hasattr(sys, 'exc_info'): must_die=sys.exc_info()
......
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