%PDF- %PDF-
Direktori : /lib/python3/dist-packages/softwareproperties/__pycache__/ |
Current File : //lib/python3/dist-packages/softwareproperties/__pycache__/sourceutils.cpython-312.pyc |
� �|fL � �8 � d dl mZmZ d� Zd� Zd� Zd� Zd� Zd� Zy) � )�SourceEntry�Deb822SourceEntryc � � t | t � r t t | � | j �� S t t | � | j �� S )z, Return a shallow copy of the source entry. )�file)� isinstancer �strr r )�origs �@/usr/lib/python3/dist-packages/softwareproperties/sourceutils.py�copy_source_entryr s7 � ��$�)�*� ��T�����;�;��s�4�y�t�y�y�1�1� c �f � t | � }|j � D ] \ }}t |||� � |S )z?Return a copy of the given source entry with replaced field(s).)r �items�setattr)r �kwargs�entry�k�vs r �replace_source_entryr s6 � ��d�#�E��,�,�.� ���A���q�!����Lr c �f � | j j d� }|d xs dj � S )zl Return the pocket, or if unset return 'release'. This always returns the pocket in lowercase. �-� �release)�dist� partition�lower)�source_entry�partss r �get_source_entry_pocketr s2 � � ���'�'��,�E��!�H�!� �(�(�*�*r c �>