0x1949 Team - FAZEMRX - MANAGER
Edit File: extendedsourceslist.cpython-310.pyc
o U�7e�W � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ e �� G dd� dej �Z G dd� de �Z G d d � d ej�ZG dd� de�Z dS ) � N)�copy)�sourceslist)� get_distroc @ s� e Zd ZdZedd� �Ze ddd��Zdd� Zed d � �Z e j dd � �Z edd � �Zedd� �Zej dd� �Zdd� Z dd� Zdd� Zdd� ZdS )�SourceEntryz single sources.list entry c K s | | j di |���S )N� )�create_line)�cls�kwargsr r �H/usr/lib/python3/dist-packages/softwareproperties/extendedsourceslist.py�create_entry s zSourceEntry.create_entryNc C s\ |du rd}|du rt � j}|du rt � j}|du rg }|du r"g }|�d�r.d}|�d�}|r2dnd}g }|rC|�dd�|�� �� | durS|�d | rNd nd� �� d�|�}|r`d |� d�}|sd|}|rt|�d�d }|� d|� �}d�|�}|r�d|� �}| r�| �d�s�d| � �} n | �d�s�d| � �} 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�optionsr r r r sL �(zSourceEntry.create_linec C s� zR| j s|j r| j |j ko| j|jkW S | j|jkoQ| j|jkoQt| j�t|j�koQ| j|jkoQ| j�d�|j�d�koQ| j |j koQ| j |j koQt| j�t|j�kW S ty\ Y dS w )�- equal operator for two sources.list entries �/F) �invalid�liner r �setr# r$ r �rstripr r! r"