%PDF- %PDF-
Direktori : /lib/python3/dist-packages/DistUpgrade/__pycache__/ |
Current File : //lib/python3/dist-packages/DistUpgrade/__pycache__/MetaRelease.cpython-312.pyc |
� QKf�C � � � d dl Z d dlZd dlZd dlZd dlmZ d dlZd dlZd dl Z d dl Z d dlZd dlZd dl Z d dlmZ d dlmZmZ d dlmZmZ ddlmZmZmZmZmZ G d� d e� Z G d � de� Z G d� d e� Z e!dk( r e dd� Z"yy)� N)� BadStatusLine)�quote)�Request�urlopen)� HTTPError�URLError� )�get_lang�get_dist�get_dist_version�get_ubuntu_flavor�get_ubuntu_flavor_namec � � e Zd Zy)�MetaReleaseParseErrorN)�__name__� __module__�__qualname__� � �9/usr/lib/python3/dist-packages/DistUpgrade/MetaRelease.pyr r 2 s � �r r c � � e Zd Zd� Zy)�Distc � � || _ || _ || _ || _ d | _ d | _ d | _ d | _ d | _ y �N) �name�version�date� supported�releaseNotesURI�releaseNotesHtmlUri�upgradeTool�upgradeToolSig�upgrade_broken)�selfr r r r s r �__init__z Dist.__init__7 sF � ��� ������ �"���#���#'�� ����"���"��r N)r r r r% r r r r r 6 s � � #r r c � � e Zd ZdZdej v ZdZdZ dd�Z d� Z d� Zd � Zd � Z d� Zed� � Zd � Zd� Zy)�MetaReleaseCorezT A MetaReleaseCore object abstracts the list of released distributions. �DEBUG_UPDATE_MANAGERz$/etc/update-manager/release-upgradesz /etc/update-manager/meta-releaseNc �| � |rd| _ | j d|�d|��� || _ || _ t j � | _ d | _ d | _ |�t j � }t |�� | _ t |�� | _ t � | _ t# � | _ d | _ d | _ d}|dz | _ |dz | _ d| _ d | _ t3 j4 � }t6 j8 j; | j<