Changeset 925
- Timestamp:
- 01/12/06 12:05:21
- Files:
-
- trunk/cherrypy/_cputil.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cputil.py
r924 r925 325 325 return "" 326 326 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 331 333 return page_handler_str + "".join(traceback.format_exception(*exc)) 332 334

