HEX
Server: nginx/1.28.0
System: Linux server-one 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.3.23
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/softwareproperties/__pycache__/sourceslist.cpython-310.pyc
o

U�7e��@sLddlmZddlmZddlmZmZddlmZdZ	Gdd�de�Z
dS)	�)�gettext)�SourceEntry)�ShortcutHandler�InvalidShortcutException)�urlparse�archive_uricseZdZ�fdd�Z�ZS)�SourcesListShortcutHandlercs�tt|�j|fi|��t|�}|jrttd�|��|j}|�|�s+ttd�|��t	t
|j�t
|j�B�|_t
|�}|j|_|j|_|�|j�|_t�d|j��|_|�t|��dS)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.pyrs
z#SourcesListShortcutHandler.__init__)�__name__�
__module__�__qualname__r�
__classcell__r$r$r"r%rsrN)rr
�&softwareproperties.extendedsourceslistr�"softwareproperties.shortcuthandlerrr�urllib.parserrrr$r$r$r%�<module>s