| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/softwareproperties/__pycache__/ |
Upload File : |
�
��c�W � �� � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ e j � � G d� dej � � Z G d� de � � Z
G d � d
ej � � Z G d� de� � Z
dS )
� N)�copy)�sourceslist)�
get_distroc �� � e Zd ZdZed� � � Ze dd�� � Zd� Zed� � � Z e j
d� � � Z ed� � � Zed � � � Zej
d
� � � Zd� Z
d� Zd
� Zd� ZdS )�SourceEntryz single sources.list entry c �. � | | j di |��� � S )N� )�create_line)�cls�kwargss �H/usr/lib/python3/dist-packages/softwareproperties/extendedsourceslist.py�create_entryzSourceEntry.create_entry s$ � ��s�?�3�?�,�,�V�,�,�-�-�-� Nc �� � |�d}|�t � � j }|�t � � j }|�g }|�g }|� d� � rd}|� d� � }|rdnd}g }|r+|� dd� |� � � �� � | �|� d | rd
nd� �� � d� |� � }|rd
|� d�}|s|}|r"|� d� � d }|� d|� �}d� |� � }|rd|� �}|
r6|
� d� � sd|
� �}
n|
� d� � sd|
� �}
nd}
|� |� |� d|� d|� |� |
� � � � � S )aj Create a line from the given parts.
The 'uri' parameter is mandatory; the rest will be filled with defaults
if not set or if set to None.
If 'dist' and 'suite' are both provided, 'suite' is ignored. If 'dist'
includes a pocket and 'pocket' is provided, the 'pocket' parameter
will replace the pocket in 'dist'.
NF�#Tz# � zarch=�,ztrusted=�yes�no� z [�]�-r z #) r �binary_type�codename�
startswith�lstrip�append�join� partition�strip)
r �uri�disabled�type�dist�suite�pocket�comps�
architectures�trusted�comment�hashmark�optionss
r
r
zSourceEntry.create_line s� � �( ���H��<��<�<�+�D��=��L�L�)�E��=��E�� ��M��?�?�3��� %��H��;�;�t�$�$�D�#�+�4�4������ >��N�N�<�3�8�8�M�#:�#:�<�<�=�=�=����N�N�B�w�&@�e�e�D�B�B�C�C�C��(�(�7�#�#��� &�%�7�o�o�o�G�� ��D�� &��>�>�#�&�&�q�)�D��%�%�V�%�%�D��������� ���K�K�E�� ��%�%�c�*�*�
(�(�w�.�.����'�'��,�,�
(�'�g�-�-����G��H�D�H�'�H�H�C�H�H�$�H��H�w�H�H�N�N�P�P�Pr c �6 � | j s|j r | j |j k o| j |j k S | j |j k o�| j |j k o�t | j � � t |j � � k o�| j |j k o| j � d� � |j � d� � k oI| j |j k o9| j
|j
k o)t | j � � t |j � � k S # t $ r Y dS w xY w)�- equal operator for two sources.list entries �/F)
�invalid�liner"