| 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 : |
�
3LGf�} � � � d dl Z d dlZd dlmZ d dlZd dlZd dlZd dlZd dlZd dl Z d dl
Z
d dlmZ n# e
$ r
ej ZY nw xY wd dlZ d dlZn# e
$ r d dlZY nw xY wd dl
mZ d dlmZ d dlmZ n# e
$ r d dlmZ Y nw xY wd dlmZ d dlZd dlZd dlZdd lmZ d d
lmZmZ d dl m!Z! d dl"m#Z# d d
l$m%Z% G d� de&� � Z'e(dk r> e'� � Z) e*e)�+ � � � � e)�, d � � dS dS )� N)�md5)� maketrans)�NamedTemporaryFile)�escape)�ConfigParser)�gettext� )�AptAuth)�SourcesList�SourceEntry)�InvalidShortcutException)�shortcut_handler)�Gioc � � e Zd ZdZdZ e ed� � � � \ ZZZ edede diZ
dAd �Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z!d � Z"d!� Z#d"� Z$d#� Z%d$� Z&d%� Z'd&� Z(d'� Z)d(� Z*d)� Z+d*� Z,d+� Z-d,� Z.d-� Z/d.� Z0d/� Z1d0� Z2d1� Z3d2� Z4d3� Z5d4� Z6d5� Z7dBd7�Z8dBd8�Z9dCd:�Z:d;� Z;d<� Z<d=� Z=d>� Z>d?� Z?e@dDd@�� � ZAdS )E�SoftwarePropertiesz /usr/share/app-install/channels/z$/etc/update-manager/release-upgrades� �normal�lts�neverN�/c �j � |dz | _ || _ |dk r t j � d|� � |dk rd}|| _ || _ t � � | _ t j
� � � | _
g | _ d| _
| � � � | � � � | � � � g | _ t% j � � | _ t+ |�� � | _ t/ j � � | _ t5 j | 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 s �G/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py�__init__zSoftwareProperties.__init__V s � � �<�<�D�O��D�L��#�~�~�
�n�����(�(�(� �$���1�g��D�L��D�L�"�}�}�D���#�.�.�0�0�D�K��D�� %�D�������������������� �D�� �;�=�=�D�L� �7�+�+�+�D�L���(�(�D��
�O�D�)�*�*�*�*�*� c � � t j � � D ]7}|j t j � � j k r|� � � �8dS )z9 wait for all running threads (PPA key fetchers) to exit N)� threading� enumerate�ident�current_thread�join)r3 �ts r4 r2 z#SoftwareProperties.wait_for_threads sK � �
�
�
"�
"� � ��
��I�,�.�.�4� 4� 4� �������� r6 c �� � i | _ t j � � � D ];}t j � t j | � � }|| j |<