Skip to content

Commit a2aab19

Browse files
author
Richard Jones
committed
tweak
1 parent 8f5b8e4 commit a2aab19

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

roundup/cgi/cgitb.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# This module was written by Ka-Ping Yee, <[email protected]>.
33
#
4-
# $Id: cgitb.py,v 1.2 2002-09-06 07:21:31 richard Exp $
4+
# $Id: cgitb.py,v 1.3 2002-09-06 07:23:29 richard Exp $
55

66
__doc__ = """
77
Extended CGI traceback handler by Ka-Ping Yee, <[email protected]>.
@@ -47,7 +47,7 @@ def pt_html(context=5):
4747
l.append('in template %r'%context.id)
4848
elif len(ts) == 3:
4949
supp, context, info = ts
50-
l.append('in expression %r\n%s\n%s\n'%(info,
50+
l.append('in expression %r\n current variables:\n%s\n%s\n'%(info,
5151
niceDict(' ', context.global_vars),
5252
niceDict(' ', context.local_vars)))
5353
# context._scope_stack))
@@ -163,6 +163,9 @@ def handler():
163163

164164
#
165165
# $Log: not supported by cvs2svn $
166+
# Revision 1.2 2002/09/06 07:21:31 richard
167+
# much nicer error messages when there's a templating error
168+
#
166169
# Revision 1.1 2002/08/30 08:28:44 richard
167170
# New CGI interface support
168171
#

0 commit comments

Comments
 (0)