ok
Direktori : /opt/alt/python35/lib64/python3.5/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/__pycache__/cgitb.cpython-35.opt-1.pyc |
>�Ma�. � @ s% d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d � Z g Z d d � Z d d � Z d d � Z d d � Z d d � Z d d d � Z d d d � Z Gd d � d � Z e � j Z d d d d d d � Z d S)a� More comprehensive traceback formatting for Python scripts. To enable this module, do: import cgitb; cgitb.enable() at the top of your script. The optional arguments to enable() are: display - if true, tracebacks are displayed in the web browser logdir - if set, tracebacks are written to files in this directory context - number of lines of source code to show for each stack frame format - 'text' or 'html' controls the output format By default, tracebacks are displayed but not saved, the context is 5 lines and the output format is 'html' (for backwards compatibility with the original use of this module) Alternatively, if you have caught an exception and want cgitb to display it for you, call cgitb.handler(). The optional argument to handler() is a 3-item tuple (etype, evalue, etb) just like the value of sys.exc_info(). The default handler displays output as HTML. � Nc C s d S)zAReturn a string that resets the CGI and browser to a known state.a' <!--: 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>� r r r �*/opt/alt/python35/lib64/python3.5/cgitb.py�reset# s r c C s | r d | d Sd Sd S)Nz<small>z</small>� r )�textr r r �small. s r c C s | r d | d Sd Sd S)Nz<strong>z </strong>r r )r r r r �strong4 s r c C s | r d | d Sd Sd S)Nz<font color="#909090">z</font>r r )r r r r �grey: s r c C s� | | k r d | | f S| | j k r: d | j | f Sd | j k r� | j d } t | � t i � k r� | | k r� d | | f Sn"