Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/softwareproperties/__pycache__/ |
Upload File : |
o U�7e� � @ sL d dl m Z d dlmZ d dlmZmZ d dlmZ dZ G dd� de�Z dS ) � )�gettext)�SourceEntry)�ShortcutHandler�InvalidShortcutException)�urlparse�archive_uric s e Zd Z� fdd�Z� ZS )�SourcesListShortcutHandlerc s� t t| �j|fi |�� t|�}|jrttd�| ��|j}| �|�s+ttd�| ��t t | j�t |j�B �| _t |�}|j| _|j| _| �|j�|_t� d|j� �| _| �t|�� d S )NzInvalid sources.list line: '%s'zInvalid URI: '%s'�-)�superr �__init__r �invalidr �_�uri�is_valid_uri�list�set� components�compsr �username� _username�password� _password�uri_strip_auth�SOURCESLIST_FILE_PREFIX� _filebase�_set_source_entry�str)�self�shortcut�kwargs�entryr �parsed�� __class__� �@/usr/lib/python3/dist-packages/softwareproperties/sourceslist.pyr s z#SourcesListShortcutHandler.__init__)�__name__� __module__�__qualname__r � __classcell__r$ r$ r"