Changeset 2486 for package_branches


Ignore:
Timestamp:
Sep 28, 2009, 8:40:28 PM (15 years ago)
Author:
quentin
Message:

error page tweaks

Location:
package_branches/invirt-web/cherrypy/code
Files:
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy/code/Makefile

    r2231 r2486  
    1 DIRS = templates
    2 
    3 all: kill chmod compile
     1all: kill chmod
    42
    53chmod:
     
    97kill:
    108        -pkill main.fcgi
    11 
    12 compile:
    13         for dir in $(DIRS); do \
    14                 (cd $$dir; $(MAKE) all); \
    15         done
    16 
    17 clean:
    18         for dir in $(DIRS); do \
    19                 (cd $$dir; $(MAKE) clean); \
    20         done
  • package_branches/invirt-web/cherrypy/code/main.py

    r2485 r2486  
    8282        d = dict(op = op, user=username, fields=cherrypy.request.prev.params,
    8383                 errorMessage=str(err), stderr=emsg, traceback=traceback)
    84         error_raw = cherrypy.tools.mako.callable.get_lookup(**cherrypy.tools.mako._merged_args()).get_template("/error_raw.mako")
     84        error_raw = cherrypy.request.lookup.get_template("/error_raw.mako")
    8585        details = error_raw.render(**d)
    8686        exclude = config.web.errormail_exclude
  • package_branches/invirt-web/cherrypy/code/templates/error.mako

    r2485 r2486  
    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.