Changeset 2694


Ignore:
Timestamp:
Dec 20, 2009, 9:45:56 PM (15 years ago)
Author:
broder
Message:

Use contact address from config on error page

Location:
package_branches/invirt-web/cherrypy-rebased/code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy-rebased/code/main.py

    r2693 r2694  
    7777        d = dict(op = op, user=username, fields=cherrypy.request.prev.params,
    7878                 errorMessage=str(err), stderr=emsg, traceback=traceback)
    79         error_raw = cherrypy.tools.mako.callable.get_lookup(**cherrypy.tools.mako._merged_args()).get_template("/error_raw.mako")
     79        error_raw = cherrypy.request.lookup.get_template("/error_raw.mako")
    8080        details = error_raw.render(**d)
    8181        exclude = config.web.errormail_exclude
  • package_branches/invirt-web/cherrypy-rebased/code/templates/error.mako

    r2693 r2694  
    99mail about it.</p>
    1010
    11 <p>Feel free to poke us at <tt>xvm@mit.edu</tt> if this bug is
     11<p>Feel free to poke us at <tt>${config.contact}</tt> if this bug is
    1212consistently biting you and we don't seem to be fixing it.</p>
    1313
Note: See TracChangeset for help on using the changeset viewer.