0x1949 Team - FAZEMRX - MANAGER
Edit File: SoftwareProperties.cpython-310.pyc
o U�7e�} � @ s� d dl mZmZ d dlZd dlZd dlmZ d dlZd dlZd dl Z d dl Z d dlZd dlZd dl Z zd dlmZ W n eyF ejZY nw d dlZzd dlZW n ey^ d dlZY nw d dl mZ d dlmZ zd dlmZ W n ey� d dlmZ Y nw d dlmZ d dlZd dlZd dlZd d lmZ d dl m!Z!m"Z" d dl#m$Z$ d d l%m&Z& d dl'm(Z( G dd� de)�Z*e+dkr�e*� Z,e-e,�.� � e,�/d � dS dS )� )�absolute_import�print_functionN)�md5)� maketrans)�NamedTemporaryFile)�escape)�ConfigParser)�gettext� )�AptAuth)�SourcesList�SourceEntry)�InvalidShortcutException)�shortcut_handler)�Gioc @ s� e Zd ZdZdZeed��\ZZZ edede diZ dud d �Zdd� Zd d� Z dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Zd/d0� Zd1d2� Zd3d4� Z d5d6� Z!d7d8� Z"d9d:� Z#d;d<� Z$d=d>� Z%d?d@� Z&dAdB� Z'dCdD� Z(dEdF� Z)dGdH� Z*dIdJ� Z+dKdL� Z,dMdN� Z-dOdP� Z.dQdR� Z/dSdT� Z0dUdV� Z1dWdX� Z2dYdZ� Z3d[d\� Z4d]d^� Z5d_d`� Z6dvdbdc�Z7dvddde�Z8dwdgdh�Z9didj� Z:dkdl� Z;dmdn� Z<dodp� Z=dqdr� Z>e?dxdsdt��Z@dS )y�SoftwarePropertiesz /usr/share/app-install/channels/z$/etc/update-manager/release-upgrades� �normal�lts�neverN�/c C s� |d | _ || _|dkrtj�d|� |dkrd}|| _|| _t� | _t j �� | _ g | _d| _ | �� | �� | �� g | _t�� | _t|d�| _t�� | _t�| j� dS )z� Provides the core functionality to configure the used software repositories, the corresponding authentication keys and update automation z/etc/popularity-contest.confr �DirNz/usr/share/software-properties/F)�rootdir)� popconfiler �apt_pkg�config�set�options�datadirr �sourceslist� aptsources�distro� get_distro�seen_server�modified_sourceslist�reload_sourceslist�backup_sourceslist�backup_apt_conf�custom_mirrors�queue�Queue�myqueuer �apt_keyr �Cancellable�cancellable�atexit�register�wait_for_threads)�selfr r r � r3 �G/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py�__init__X s( zSoftwareProperties.__init__c C s* t �� D ]}|jt �� jkr|�� qdS )z9 wait for all running threads (PPA key fetchers) to exit N)� threading� enumerate�ident�current_thread�join)r2 �tr3 r3 r4 r1 � s ��z#SoftwareProperties.wait_for_threadsc C s6 i | _ tj�� D ]}tj�tj| �}|| j |<