Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 877

Show
Ignore:
Timestamp:
12/17/05 00:20:31
Author:
fumanchu
Message:

Made helper custom error handler backward-compatible from 2.2 to 2.1.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/config.py

    r856 r877  
    9393    specified, return the path to the value, instead of the value itself. 
    9494    """ 
    95     # Look, ma, no Python function calls! Uber-fast. 
    96  
     95     
    9796    if path is None: 
    9897        try: 
  • trunk/cherrypy/test/helper.py

    r856 r877  
    118118        # 2) stop the HTTP request (if any) and ignore further assertions. 
    119119        cherrypy.root._cp_on_error = onerror 
     120        # Backward compatibility: 
     121        cherrypy.root._cpOnError = onerror 
    120122         
    121123        if vroot: 

Hosted by WebFaction

Log in as guest/cpguest to create tickets