diff --git a/roundup/cgitb.py b/roundup/cgitb.py
index de017e42c7269c3ca601cdef5e4aca2796f3ef48..d7837ca055ca14beb80b49ef1581989876a5494a 100644 (file)
--- a/roundup/cgitb.py
+++ b/roundup/cgitb.py
#
# This module was written by Ka-Ping Yee, <ping@lfw.org>.
#
-# $Id: cgitb.py,v 1.8 2002-01-05 02:22:32 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, <ping@lfw.org>.
import sys, os, types, string, keyword, linecache, tokenize, inspect, pydoc
-from roundup.i18n import _
+from i18n import _
def breaker():
return ('<body bgcolor="#f0f0ff">' +
<table width="100%%" bgcolor="#d8bbff" cellspacing=0 cellpadding=2 border=0>
<tr><td>%s %s</td></tr></table>''' % (link, call)
- if file is None:
+ if index is None or file is None:
traceback.append('<p>' + level)
continue
#
# $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
+#
# Revision 1.7 2001/11/22 15:46:42 jhermann
# Added module docstrings to all modules.
#