0x1949 Team - FAZEMRX - MANAGER
Edit File: DistUpgradeConfigParser.cpython-310.pyc
o >I�c� � @ s� d dl mZmZ d dl mZ d dlZd dlZd dlZd dl Z dZ G dd� de�Zedkreed�Z ee �d d �� ee �d d�� ee �dd �� ee �d dd�� ee �d dd�� ee �d dd�� dS dS )� )� NoOptionError�NoSectionError)�ConfigParserNz&/etc/update-manager/release-upgrades.dc @ s2 e Zd Z ddd�Zdd� Zdd� Zd d � ZdS )�DistUpgradeConfig�DistUpgrade.cfgNc C s� t �| � tjg d�tjdd��� d �� }|| _tj � ||�}tj �|d | �r0|d| 7 }g | _|rEt � |d �D ]}| j�|� q<| j|g7 _|d u rSt}|d urgt � |d �D ]}| j�|� q^| �| j� d S )N)�lsb_releasez-cz-sT)�stdout�universal_newlinesr �.z/*.cfg)�SafeConfigParser�__init__� subprocess�Popen�PIPE�communicate�strip�datadir�os�path�join�exists�config_files�glob�append�CONFIG_OVERRIDE_DIR�read)�selfr �name�override_dir�defaults_dir�from_release�maincfg�cfg� r# �E/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeConfigParser.pyr "