https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /opt/alt-old/python27/lib/python2.7/site-packages/mako/ext/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt-old/python27/lib/python2.7/site-packages/mako/ext/autohandler.pyo
�
�ǚPc@sCdZddlZddlZddlZdd�Zd�ZdS(s�adds 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')}"/>

i����NtautohandlercCs,|j}|jj}|jsMy|jt||fSWqMtk
rIqMXntjdt	j
|��|g}x�t|�r�ddj|�}||kr�t
||�r�|js�|jjt||f|�S|Snt|�dkr�Pn|g|d)qrW|js$|jjt||fd�SdSdS(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(RtsubtdirectoriestosRtexiststTruetFalse(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.pyt<module>s$

https://t.me/AnonymousX5 - 2025