Changeset 2704 for package_branches
- Timestamp:
- Dec 20, 2009, 9:46:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/main.py
r2694 r2704 68 68 @cherrypy.tools.mako(filename="/error.mako") 69 69 def error(self): 70 #op, username, fields, err, emsg, traceback):71 70 """Print an error page when an exception occurs""" 72 71 op = cherrypy.request.prev.path_info … … 75 74 emsg = cherrypy.request.prev.params["emsg"] 76 75 traceback = cherrypy.request.prev.params["traceback"] 77 d = dict(op =op, user=username, fields=cherrypy.request.prev.params,76 d = dict(op=op, user=username, fields=cherrypy.request.prev.params, 78 77 errorMessage=str(err), stderr=emsg, traceback=traceback) 79 78 error_raw = cherrypy.request.lookup.get_template("/error_raw.mako")
Note: See TracChangeset
for help on using the changeset viewer.