summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef558f6)
raw | patch | inline | side by side (parent: ef558f6)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 6 Sep 2002 07:23:29 +0000 (07:23 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 6 Sep 2002 07:23:29 +0000 (07:23 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1085 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/cgitb.py | patch | blob | history |
diff --git a/roundup/cgi/cgitb.py b/roundup/cgi/cgitb.py
index 69a332aff12f7ac6e04fe42eaafebaeb5d710449..19c1c2765941aa4abc19a001fc6d107f3869e3e3 100644 (file)
--- a/roundup/cgi/cgitb.py
+++ b/roundup/cgi/cgitb.py
#
# This module was written by Ka-Ping Yee, <ping@lfw.org>.
#
-# $Id: cgitb.py,v 1.2 2002-09-06 07:21:31 richard Exp $
+# $Id: cgitb.py,v 1.3 2002-09-06 07:23:29 richard Exp $
__doc__ = """
Extended CGI traceback handler by Ka-Ping Yee, <ping@lfw.org>.
l.append('in template %r'%context.id)
elif len(ts) == 3:
supp, context, info = ts
- l.append('in expression %r\n%s\n%s\n'%(info,
+ l.append('in expression %r\n current variables:\n%s\n%s\n'%(info,
niceDict(' ', context.global_vars),
niceDict(' ', context.local_vars)))
# context._scope_stack))
#
# $Log: not supported by cvs2svn $
+# Revision 1.2 2002/09/06 07:21:31 richard
+# much nicer error messages when there's a templating error
+#
# Revision 1.1 2002/08/30 08:28:44 richard
# New CGI interface support
#