%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-312.pyc |
� �!f�! � �, � d Z ddlZdZd� Zd� Zd� Zd� Zy)z:Python sys.excepthook hook to generate apport crash dumps.� Nz/etc/default/apportc �� � ddl } t t d�� 5 }|j � }ddd� | j d| j � du S # 1 sw Y �(xY w# t $ r Y yw xY w)z4Return whether Apport should generate crash reports.r Nzutf-8��encodingz^\s*enabled\s*=\s*0\s*$T)�re�open�CONFIG�read�search�M�OSError)r �config_file�confs �4/usr/lib/python3/dist-packages/apport_python_hook.py�enabledr si � � �� �&�7� +� &�{��#�#�%�D� &��y�y�3�T�2�4�4�@�D�H�H� &� &�� � ���s'