| Server IP : 3.96.16.70 / Your IP : 216.73.216.15 Web Server : Apache System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3.9/site-packages/augeas/__pycache__/ |
Upload File : |
a
�8^�k � @ s� d Z ddlmZ ddlmZmZ dZdZedkZ dZ
e r>eZne
Zdd � Zd
d� ZG dd
� d
e�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZddgZdS )a�
Augeas is a library for programmatically editing configuration files.
Augeas parses configuration files into a tree structure, which it exposes
through its public API. Changes made through the API are written back to
the initially read files.
The transformation works very hard to preserve comments and formatting
details. It is controlled by *lens* definitions that describe the file
format and the transformation into a tree.
� )�version_info)�ffi�libz/Nathaniel McCallum <nathaniel@natemccallum.com>z�Jeff Schroeder <jeffschroeder@computer.org>
Harald Hoyer <harald@redhat.com> - initial python bindings, packaging
Nils Philippsen <nils@redhat.com>
)� �utf8c C s | r| � t�S dS d S �N� )�encode�AUGENC��st� r
�3/usr/lib/python3.9/site-packages/augeas/__init__.py�enc3 s
r c C s | r| � t�S dS d S r )�decoder
r r
r
r �dec: s
r c s e Zd Z� fdd�Z� ZS )�
AugeasIOErrorc s: || _ tt| �j|g|�R � || _|| _|| _|| _d S �N)�message�superr �__init__�error�msg�minor�details��self�ec�fullmessager r r �args�� __class__r
r r B s zAugeasIOError.__init__��__name__�
__module__�__qualname__r �
__classcell__r
r
r r r A s r c s e Zd Z� fdd�Z� ZS )�AugeasRuntimeErrorc s: || _ tt| �j|g|�R � || _|| _|| _|| _d S r )r r r'