• File: cgitb.cpython-37.opt-2.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/proc/self/root/opt/alt/python37/lib64/python3.7/__pycache__/cgitb.cpython-37.opt-2.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 8.31 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

YI~d.@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddZ
gZddZddZ
dd	Zd
dZdd
ZdddZdddZGdddZejZdddZdS)NcCsdS)Na'<!--: spam
Content-Type: text/html

<body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> -->
<body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> -->
</font> </font> </font> </script> </object> </blockquote> </pre>
</table> </table> </table> </table> </table> </font> </font> </font>rrr*/opt/alt/python37/lib64/python3.7/cgitb.pyreset#srcCs|rd|dSdSdS)Nz<small>z</small>r)textrrrsmall.srcCs|rd|dSdSdS)Nz<strong>z	</strong>rr)rrrrstrong4srcCs|rd|dSdSdS)Nz<font color="#909090">z</font>rr)rrrrgrey:sr	cCs||krd||fS||jkr,d|j|fSd|jkr~|jd}t|tikrf||kr~d||fSnt||r~dt||fSdtfS)Nlocalglobal__builtins__builtin)	f_globalstypehasattrgetattr	__UNDEF__)nameframelocalsbuiltinsrrrlookup@s



rcCsgdddtf\}}}}}xt|D]\}}	}
}}|tjkr>P|tjkr|	tjkr|dkr|tk	rt||	t}|||	||fqt	|	||\}
}||	|
|fn"|	dkr||d7}|}nd\}}|	}q$W|S)Nr.)Nr)
rtokenizegenerate_tokensNEWLINENAMEkeywordkwlistrappendr)readerrrvarsZ	lasttokenparentprefixvalueZttypetokenstartendlinewhererrrscanvarsPs"
r*c"s|\}}}t|tr|j}dtjddtj}tt}dt	j
dtt	j

t|dd|d|d	}d
tdd}g}	t||}
xJ|
D]@\}}}
}}rtjd
t	j

f}nd}t|\}}}}d}|
dkr.dtt	j

|
tj||||ddd}i|gffdd	}t|||}dd||fg}|dk	r||}x|D]}tddtt|t|d}|krd|t	j
|f}|d|n&d|t	j
|f}|dt||d7}qzWig}}x|D]\}}} ||kr,qd||<| tk	r|dkrZd |t|}n*|d!krnt|}n|t|d"d#}|d$|t	j
| fn||d%qW|dttd&||	d'd(|qWd)tt	j

t|t	j

t|fg}!xNt|D]B}|ddd*kr6qt	j
t ||} |!d+||| fqW|d|	d|!d,t	j

dt!"|||S)-NzPython rz: z<body bgcolor="#f0f0f8">z<big><big>%s</big></big>z#ffffffz#6622aaz<br>z
<p>A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.</p>z<tt>z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z&nbsp;</tt>z<a href="file://%s">%s</a>?rzin cSsdtj|S)N=)pydochtmlrepr)r$rrr<lambda>zhtml.<locals>.<lambda>)formatvaluec
s4d|d<zt|dS|dd7<XdS)Nr)	linecachegetline)lnum)file	highlightrrr szhtml.<locals>.readerz+<tr><td bgcolor="#d8bbff">%s%s %s</td></tr>z<big>&nbsp;</big>z&nbsp;r+z<tt>=&gt;%s%s</tt>z&<tr><td bgcolor="#ffccee">%s</td></tr>z<tt>&nbsp;&nbsp;%s%s</tt>z<tr><td>%s</td></tr>r4)rr
z<em>%s</em> r
rz%s&nbsp;= %sz <em>undefined</em>z, zF
<table width="100%%" cellspacing=0 cellpadding=0 border=0>
%s</table>
z	<p>%s: %s_z
<br>%s%s&nbsp;=
%sz


<!-- The above is a description of an error in a Python program, formatted
     for a Web browser because the 'cgitb' module was enabled.  In case you
     are not reading this in a Web browser, here is the original traceback:

%s
-->
)#
isinstancer__name__sysversionsplit
executabletimectimer.r/headingrescapestrrinspectgetinnerframesospathabspathgetargvaluesformatargvaluesr*lenZ	preformatrr	rr0joindirr	tracebackformat_exception)"einfocontextetypeevalueetbpyverdateheadindentframesrecordsrr7funclinesindexlinkargsvarargsvarkwrcallr r!rowsir(numdonedumprr)r$	exceptionr)r8r9rr/es|

0


$






	r/c 	s|\}}}t|tr|j}dtjddtj}tt}dt	|||fd}g}t
||}	x|	D]\}
}}}
}rtj
pdt
|
\}}}}d}|dkrd|t
j||||d	d
d}i|gffdd
	}t||
|}d|fg}|dk	rL||}x0|
D](}d|}||||d7}q Wig}}x|D]\}}}||krtq\d||<|tk	r|dkrd|}n|dkr||dd}|d|tj|fn||dq\W|d||dd|qrWdt	|t	|fg}x8t|D],}tjt||}|dd||fq.W|d|d|ddt|||S)NzPython rz: z	%s
%s
%s
z
A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.
r,rzin cSsdtj|S)Nr-)r.rr0)r$rrrr1r2ztext.<locals>.<lambda>)r3c
s4d|d<zt|dS|dd7<XdS)Nr4r)r5r6)r7)r8r9rrr sztext.<locals>.readerz %s %sz%5d r4rzglobal r
rr:z%s = %sz
 undefinedr;z
%s
z%s: %sz

%s%s = %sz    zc

The above is a description of an error in a Python program.  Here is
the original traceback:

%s
)r=rr>r?r@rArBrCrDrGrHrIrJrKrLrMrNr*rrstriprr.rr0rPrQrrRrS) rTrUrVrWrXrYrZr[r]r^rr7r_r`rarcrdrerrfr r!rgrhr(rirjrkrr)r$rlr)r8r9rrs^









rc@s(eZdZdddZddZdd	d
ZdS)
Hookr4Nr+r/cCs(||_||_||_|ptj|_||_dS)N)displaylogdirrUr?stdoutr8format)selfrorprUr8rrrrr__init__s
z
Hook.__init__cCs||||fdS)N)handle)rsrVrWrXrrr__call__sz
Hook.__call__c
	Csz|p
t}|jdkr$|jt|jdkr2tp4t}d}y|||j}Wn d	t
j|}d}YnX|jr|rt
j|}|jd|dq|j|dn|jd|jdk	rZd	d
g|jdk}tj||jd\}}y.t|d}||WdQRXd
|}	Wnd|}	YnX|jdkrJ|jd|	n|j|	dy|jWnYnXdS)Nr/FrTz<pre>z</pre>
r;z*<p>A problem occurred in a Python script.
z.txtz.html)suffixrQwz*%s contains the description of this error.z*Tried to save traceback to %s, but failed.z
<p>%s</p>
)r?exc_inforrr8writerr/rrUrPrRrSror.rFrptempfileZmkstemprJfdopenflush)
rsinfo	formatterZplaindocrwfdrKr8msgrrrrus@

zHook.handle)r4Nr+Nr/)N)r>
__module____qualname__rtrvrurrrrrns
rnr4cCst||||dt_dS)N)rorprUrr)rnr?
excepthook)rorprUrrrrrenable8sr)r+)r+)r4Nr+r/)rHrr5rJr.r?r{rCrrRrrrrr	rr*r/rrnruZhandlerrrrrr<module>s*

Z
A7