Commit a9c09bb3 authored by Jim Fulton's avatar Jim Fulton

Fixed bug in last fix.

parent fdb33629
...@@ -522,7 +522,7 @@ Publishing a module using the ILU Requestor (future) ...@@ -522,7 +522,7 @@ Publishing a module using the ILU Requestor (future)
o Configure the web server to call module_name@server_name with o Configure the web server to call module_name@server_name with
the requestor. the requestor.
$Id: Publish.py,v 1.22 1996/10/25 19:34:27 jim Exp $""" $Id: Publish.py,v 1.23 1996/10/28 22:13:45 jim Exp $"""
#' #'
# Copyright # Copyright
# #
...@@ -575,6 +575,9 @@ $Id: Publish.py,v 1.22 1996/10/25 19:34:27 jim Exp $""" ...@@ -575,6 +575,9 @@ $Id: Publish.py,v 1.22 1996/10/25 19:34:27 jim Exp $"""
# (540) 371-6909 # (540) 371-6909
# #
# $Log: Publish.py,v $ # $Log: Publish.py,v $
# Revision 1.23 1996/10/28 22:13:45 jim
# Fixed bug in last fix.
#
# Revision 1.22 1996/10/25 19:34:27 jim # Revision 1.22 1996/10/25 19:34:27 jim
# Fixed bug in handling of import errors. # Fixed bug in handling of import errors.
# #
...@@ -670,7 +673,7 @@ $Id: Publish.py,v 1.22 1996/10/25 19:34:27 jim Exp $""" ...@@ -670,7 +673,7 @@ $Id: Publish.py,v 1.22 1996/10/25 19:34:27 jim Exp $"""
# #
# #
# #
__version__='$Revision: 1.22 $'[11:-2] __version__='$Revision: 1.23 $'[11:-2]
def main(): def main():
...@@ -1416,7 +1419,7 @@ def publish_module(module_name, ...@@ -1416,7 +1419,7 @@ def publish_module(module_name,
must_die=1 must_die=1
response.exception(must_die) response.exception(must_die)
except ImportError, v: except ImportError, v:
if type(v)==types.TupleType && len(v)==3: if type(v)==types.TupleType and len(v)==3:
sys.exc_type, sys.exc_value, sys.exc_traceback = v sys.exc_type, sys.exc_value, sys.exc_traceback = v
must_die=1 must_die=1
response.exception(must_die) response.exception(must_die)
......
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