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

Changeset 925

Show
Ignore:
Timestamp:
01/12/06 12:05:21
Author:
rdelon
Message:

Had broken a few things in changeset [924]. Fixing them. Tests now run fine again.

Files:

Legend:

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

    r924 r925  
    325325        return "" 
    326326    args = exc[1].args 
    327     page_handler = args[-1] 
    328     page_handler_str = 'Page handler: %s\n' % repr(page_handler) 
    329     args = args[:-1] 
    330     exc[1].args = args 
     327    page_handler_str = "" 
     328    if len(args) > 1: 
     329        page_handler = args[-1] 
     330        page_handler_str = 'Page handler: %s\n' % repr(page_handler) 
     331        args = args[:-1] 
     332        exc[1].args = args 
    331333    return page_handler_str + "".join(traceback.format_exception(*exc)) 
    332334 

Hosted by WebFaction

Log in as guest/cpguest to create tickets