| Server IP : 5.101.180.230 / Your IP : 216.73.217.19 [ Web Server : Apache/2.4.62 (Debian) System : Linux s4261ad19.fastvps-server.com 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 User : mrnews_ru_usr ( 1030) PHP Version : 8.2.26 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/softwareproperties/__pycache__/ |
Upload File : |
�
3LGf�# � � � d dl m Z d dlmZmZmZ d dlmZmZm Z d dl
mZ d dlm
Z
d dlmZ d dlmZ n# e$ rZdZY dZ[ndZ[ww xY wd Zd
Z ee� � j ee� � j ddgZd
dgZ G d� de� � ZdS )� )�gettext)�NotFound�
BadRequest�Unauthorized)�ShortcutHandler�ShortcutException�InvalidShortcutException)�SourcesListShortcutHandler)�URIShortcutHandler)�urlparse)� LaunchpadNz5https://ppa.launchpadcontent.net/{team}/{ppa}/ubuntu/z=https://private-ppa.launchpadcontent.net/{team}/{ppa}/ubuntu/zppa.launchpad.netzprivate-ppa.launchpad.net�main�
main/debugc �� � � e Zd Zd� fd� Zed� � � Zed� � � Zed� � � Zed� � � Zed� � � Z ed� � � Z
d� fd
� Z� fd�Zd� Z
d
� Zd� Zd� Zd� Z� xZS )�PPAShortcutHandlerFc � �� t t | � � j |fi |�� | | _ d | _ d | _ d | _ d | _ d| _ t | �
|� � | � |� � | � |� � f� � s!t d� � |z }t |� � �| j �d| j ��| _ | � � � | j r3 | j n*# t( $ r t t d� � � � �w xY w| j s�| j }|sdg}| j j rt1 d� � | j j rt4 nt6 }|� | j | j �� � }| j �d|�d| j �dd� |� � ��}| � |� � d S d S ) NFz%ERROR: '%s' is not a valid ppa formatz-ubuntu-zERROR: Can't find ppar zDPPA publishes dbgsym, you may need to include 'main/debug' component)�team�ppa� )!�superr �__init__�_lp_anon�_signing_key_data�_lp�_lpteam�_lpppa�_is_sourceslist�any�
_match_ppa�
_match_uri�_match_sourceslist�_r �teamname�ppaname� _filebase� _set_auth�lpppar �
_source_entry�
components�publish_debug_symbols�print�private�PRIVATE_PPA_URI_FORMAT�PPA_URI_FORMAT�format�binary_type�dist�join�_set_source_entry)
�self�shortcut�login�kwargs�msg�comps�
uri_format�uri�line� __class__s
��8/usr/lib/python3/dist-packages/softwareproperties/ppa.pyr zPPAShortcutHandler.__init__6 s �� �0�� �$�'�'�0��D�D�V�D�D�D�!� ��
�!%������������$��� �D�O�O�H�-�-��O�O�H�-�-��+�+�H�5�5�7� 8� 8� 0� �<�=�=��H�C�*�3�/�/�/�+/�=�=�=�$�,�,�G��������� �� K�
K��
�
�
��$�
K�
K�
K�.�q�1H�/I�/I�J�J�J�
K���� �!� )��O�E��
b�����:�3� b��`�a�a�a� 48�:�3E�Y�/�/�>�J��#�#���D�L�#�I�I�C�%)�%5�%5�%5�s�s�s�D�I�I�I�s�x�x�PU����W�D��"�"�4�(�(�(�(�(� )� )s �,C4 �4'Dc � � t sd S | j sG| j r
t j }nt j } || j �d| j j ��dd�� � | _ | j S )N�.�
production�devel)�service_root�version)r
r r �login_anonymously�
login_with�
__module__r= �__name__)r4 �
login_funcs r>