Commit 85a35367 authored by Jim Fulton's avatar Jim Fulton

Fixed dumb error in hide traceback setting.

parent 5e9e7102
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,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.108 1998/11/23 22:55:59 jim Exp $""" $Id: Publish.py,v 1.109 1998/12/02 16:56:55 jim Exp $"""
__version__='$Revision: 1.108 $'[11:-2] __version__='$Revision: 1.109 $'[11:-2]
import sys, os, string, cgi, regex import sys, os, string, cgi, regex
from string import lower, atoi, rfind, split, strip, join, upper, find from string import lower, atoi, rfind, split, strip, join, upper, find
...@@ -609,7 +609,7 @@ def get_module_info(module_name, modules={}, ...@@ -609,7 +609,7 @@ def get_module_info(module_name, modules={},
else: else:
try: hide_tracebacks=atoi(hide_tracebacks) try: hide_tracebacks=atoi(hide_tracebacks)
except: hide_tracebacks=None except: hide_tracebacks=None
else: hide_tracebacks=None else: hide_tracebacks=1
# Reset response handling of tracebacks, if necessary: # Reset response handling of tracebacks, if necessary:
if debug_mode or not hide_tracebacks: if debug_mode or not hide_tracebacks:
......
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