ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ aNc@sdZddlmZddlmZdefdYZdefdYZdefd YZd Z dd gZ d e kre rdd l mZeeddZeZejZejdejdej\ZZeGeGHndS(s Middleware related to transactions and database connections. At this time it is very basic; but will eventually sprout all that two-phase commit goodness that I don't need. .. note:: This is experimental, and will change in the future. i(t HTTPException(t catch_errorstTransactionManagerMiddlewarecBseZdZdZRS(cCs ||_dS(N(t application(tselfR((sB/opt/alt/python27/lib/python2.7/site-packages/paste/transaction.pyt__init__scCs@t|d<}t|dCtt PgQuoteString(tmoduletargstkwargstquotethasattrR (RR!R"R#((sB/opt/alt/python27/lib/python2.7/site-packages/paste/transaction.pyR<s     cCs?|jj|j|j}|j|jd<|j|jd<|S(NR!R$(R!tconnectR"R#t__dict__R$(RR tconn((sB/opt/alt/python27/lib/python2.7/site-packages/paste/transaction.pyRGsN(RRt__doc__RtNoneR(((sB/opt/alt/python27/lib/python2.7/site-packages/paste/transaction.pyR5s csfd}|S(s Provides a simple mechanism for starting a transaction based on the factory; and for either committing or rolling back the transaction depending on the result. It checks for the response's current status code either through the latest call to start_response; or through a HTTPException's code. If it is a 100, 200, or 300; the transaction is committed; otherwise it is rolled back. cs_||ds  !