| Server IP : 39.108.156.168 / Your IP : 216.73.216.104 Web Server : nginx/1.24.0 System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/aegis/PythonLoaderTemp/third_party/apacheconfig/ |
Upload File : |
�
�,�^c @ s� d d l m Z d d l Z d d l Z d d l m Z d d l m Z d e f d � � YZ d � Z
e j e j � d e f d � � Y� Z
d
e
f d � � YZ d e
f d
� � YZ d e f d � � YZ d S( i����( t unicode_literalsN( t error( t LocalHostReadert ApacheConfigWritableLoaderc B s) e Z d Z d � Z d � Z d � Z RS( uR Manages a writable object represented by a single config file.
Args:
parser (:class:`apacheconfig.ApacheConfigParser`): compiled parser
to use when loading configuration directives.
options (dict): keyword args of options to set for loader. Should be
same set of options passed to parser.
c K sJ | | _ t | � | _ d | j k r: | j d | _ n t � | _ d S( Nu reader( t _parsert dictt _optionst _readerR ( t selft parsert options( ( sE /usr/local/aegis/PythonLoaderTemp/third_party/apacheconfig/wloader.pyt __init__ s
c C s2 | j j | � � } | j | j � � SWd QXd S( u^ Loads config file into a raw modifiable AST.
Args:
filepath (Text): path of config file to load. Expects UTF-8
encoding.
Returns:
:class:`apacheconfig.ListNode` AST containing parsed config file.
Raises:
IOError: If there is a problem opening the file specified.
N( R t opent loadst read( R t filepatht f( ( sE /usr/local/aegis/PythonLoaderTemp/third_party/apacheconfig/wloader.pyt load# s
c C s"