Mini Shell
a
�DOg�# � @ s� d Z ddlZddlZddlZddgZdd� Ze�d�jZG dd � d e �Z
d
d� Zdd� Zd
d� Z
dd� Zdd� Zdd� Zddg fdd�Zd#dd�Zg fdd�Zdd� Zdd� Zd d!� Zed"kr�e� dS )$z%Mailcap file handling. See RFC 1524.� N�getcaps� findmatchc C s d| v rd| d fS dS d S )N�linenor )� r � )�entryr r �/usr/lib64/python3.9/mailcap.py�lineno_sort_key
s r z[^\xa1-\U0010FFFF\w@+=:,./-]c @ s e Zd ZdZdS )�UnsafeMailcapInputz)Warning raised when refusing unsafe inputN)�__name__�
__module__�__qualname__�__doc__r r r r r
s r
c C s� i } d}t � D ]�}zt|d�}W n ty6 Y qY n0 |� t||�\}}W d � n1 s`0 Y |�� D ]*\}}|| vr�|| |<