Ńň
ôłKc @ s d Z d d k Z d d k l Z d d k Z d d k l Z d e f d YZ d e f d YZ e d d d
d Z d S( sŚ
WSGI middleware
Captures any exceptions and prints a pretty report. See the `cgitb
documentation `_
for more.
i˙˙˙˙N( t StringIO( t
converterst NoDefaultc B s e Z RS( ( t __name__t
__module__( ( ( s7 /usr/lib/python2.6/site-packages/paste/cgitb_catcher.pyR s t CgitbMiddlewarec B s; e Z d e d d d d Z d Z d Z d Z RS( i t htmlc C s | | _ | d j o
h } n | t j o | i d } n t | t o t i | } n | | _ | | _ t
| | _ | | _ d S( Nt debug(
t appt NoneR t gett
isinstancet
basestringR t asboolt displayt logdirt intt contextt format( t selfR t global_confR R R R ( ( s7 /usr/lib/python2.6/site-packages/paste/cgitb_catcher.pyt __init__ s
c C si y&