ÿØÿà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Áß_ÿÙ ǚPc@sCdZddlZddlZddlZddZdZdS(sadds autohandler functionality to Mako templates. requires that the TemplateLookup class is used with templates. usage: <%! from mako.ext.autohandler import autohandler %> <%inherit file="${autohandler(template, context)}"/> or with custom autohandler filename: <%! from mako.ext.autohandler import autohandler %> <%inherit file="${autohandler(template, context, name='somefilename')}"/> iNt autohandlercCs,|j}|jj}|jsMy|jt||fSWqMtk rIqMXntjdt j ||g}xt |rddj |}||krt ||r|js|jjt||f|S|Snt |dkrPn|g|d)qrW|js$|jjt||fdSdSdS(Ns([^/]+)t/ii(tlookuptmodulet _template_uritfilesystem_checkst _uri_cacheRtKeyErrortretfindallt posixpathtdirnametlentjoint _file_existst setdefaulttNone(ttemplatetcontexttnameRRttokenstpath((sE/opt/alt/python27/lib/python2.7/site-packages/mako/ext/autohandler.pyRs,    "    cCsOtjdd|}x3|jD]$}tjj|d|rtSqWtSdS(Ns^/tR(Rtsubt directoriestosRtexiststTruetFalse(RRtpsubtd((sE/opt/alt/python27/lib/python2.7/site-packages/mako/ext/autohandler.pyR:s (t__doc__R RRRR(((sE/opt/alt/python27/lib/python2.7/site-packages/mako/ext/autohandler.pyts$