From: richard Date: Wed, 16 Jan 2002 04:49:45 +0000 (+0000) Subject: Handle a special case that the CGI interface tickles. I need to check if X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bef2bd060b4fc2d37d44450826edbbd6db7b7b02;p=roundup.git Handle a special case that the CGI interface tickles. I need to check if this needs fixing in python's core. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@553 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgitb.py b/roundup/cgitb.py index 560973b..d7837ca 100644 --- a/roundup/cgitb.py +++ b/roundup/cgitb.py @@ -1,7 +1,7 @@ # # This module was written by Ka-Ping Yee, . # -# $Id: cgitb.py,v 1.9 2002-01-08 11:56:24 richard Exp $ +# $Id: cgitb.py,v 1.10 2002-01-16 04:49:45 richard Exp $ __doc__ = """ Extended CGI traceback handler by Ka-Ping Yee, . @@ -50,7 +50,7 @@ def html(context=5):
%s %s
''' % (link, call) - if file is None: + if index is None or file is None: traceback.append('

' + level) continue @@ -124,6 +124,9 @@ def handler(): # # $Log: not supported by cvs2svn $ +# Revision 1.9 2002/01/08 11:56:24 richard +# missed an import _ +# # Revision 1.8 2002/01/05 02:22:32 richard # i18n'ification #