Ñò
Ã#xPc @ sm d Z d d k Z d d k l Z l Z d d k l Z l Z e i ƒ Z d e f d „ ƒ YZ
d „ Z d S( s
Per-request thread-local data.
iÿÿÿÿN( t ReadOnlyt lock( t OVERRIDE_ERRORt CALLABLE_ERRORt
Connectionc B s e Z d Z d „ Z RS( sH
Base class for connection objects stored on `request.context`.
c C sP | | _ t | ƒ p# t t d | t | ƒ f ƒ ‚ n | | _ t | ƒ d S( Nt
disconnect( t connt callablet TypeErrorR t typeR R ( t selfR R ( ( s2 /usr/lib/python2.6/site-packages/ipalib/request.pyt __init__' s
( t __name__t
__module__t __doc__R ( ( ( s2 /usr/lib/python2.6/site-packages/ipalib/request.pyR " s c C sI x5 t i i ƒ D]$ } t | t ƒ o | i ƒ q q Wt i i ƒ d S( sB
Delete all attributes on thread-local `request.context`.
N( t contextt __dict__t valuest
isinstanceR R t clear( t value( ( s2 /usr/lib/python2.6/site-packages/ipalib/request.pyt destroy_context1 s
( R t threadingt baseR R t constantsR R t localR R R ( ( ( s2 /usr/lib/python2.6/site-packages/ipalib/request.pyt