Changeset 2523 for package_branches/invirt-web
- Timestamp:
- Oct 29, 2009, 1:36:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2486 r2523 73 73 @cherrypy.tools.mako(filename="/error.mako") 74 74 def error(self): 75 #op, username, fields, err, emsg, traceback):76 75 """Print an error page when an exception occurs""" 77 76 op = cherrypy.request.prev.path_info … … 80 79 emsg = cherrypy.request.prev.params["emsg"] 81 80 traceback = cherrypy.request.prev.params["traceback"] 82 d = dict(op =op, user=username, fields=cherrypy.request.prev.params,81 d = dict(op=op, user=username, fields=cherrypy.request.prev.params, 83 82 errorMessage=str(err), stderr=emsg, traceback=traceback) 84 83 error_raw = cherrypy.request.lookup.get_template("/error_raw.mako")
Note: See TracChangeset
for help on using the changeset viewer.