0x1949 Team - FAZEMRX - MANAGER
Edit File: launchpad.cpython-310.pyc
o �v�f�N � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlmZ ddl mZ ejjdkr[ddlmZmZmZ ddlmZ ddlmZmZ eeeeeef d Zndd lmZmZmZmZ ddlmZ ddlmZ dZzdd lmZ ddl m!Z! e! W n e"y� dZ!Y nw ddl#Z$ddl$Z$ej%�&d�Z'dd� Z(dd� Z)G dd� de$j*j+�Z+da,G dd� de�Z-G dd� de�Z.d!dd�Z/e0dkr�ddl1Z1ddl2Z2ddl3m4Z4 da*da5da6da7G dd � d e1j8�Z9e1�:� dS dS )"z,Crash database implementation for Launchpad.� N)�FailedToDecompressContent)�BytesIO� )�HTTPSHandler�Request�build_opener)�HTTPSConnection)� urlencode�urlopenT)r r r r )r F)� HTTPError)� Launchpadz%~/.cache/apport/launchpad.credentialsc c s` � | D ]*}z|j �� }W n ttfy t�d� Y qw |j}|�d�s*|�d�r-|V qd S )Nz"Broken attachment on bug, ignoring�.txt�.gz)�data�openr r �apport�error�filename�endswith)�attachments� attachment�f�name� r �?/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py�filter_filename, s � ���r c C s t dd� | D ��S )Nc s s$ � | ] }t |j�d ��� �V qdS )�/N)�int� self_link�split�pop)�.0�ir r r � <genexpr>: s �"