HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/1233/root/usr/lib/python3/dist-packages/CommandNotFound/__pycache__/util.cpython-38.pyc
U

���ai�@sVddlmZddlZddlZejdkr,dZndZeejddd�e�Zd	d
�Z	d
gZ
dS)�)�print_functionN�3�gettextZugettextzcommand-not-foundT)�fallbackcCsP�z<z|�W�n*tk
�r:}�zttd�tjd�t|tjd�ttd�tjd�ttjd�ttd�|tjd�ttd�tjtjd�z&ddl}|jd	d
ddd
gtjd�Wnt	t
fk
r�YnXttd�tjd�ttjd�t|tjd�zddl}|��Wnt	k
�r(YnXW5d}~XYnXW5t�d�XdS)z� Calls callback and catches all exceptions.
    When something bad happens prints a long error message
    with bug report information and exits the program�zBSorry, command-not-found has crashed! Please file a bug report at:)�filez9Please include the following information with the report:zcommand-not-found version: %szPython version: %d.%d.%d %s %drNZlsb_releasez-iz-dz-rz-c)�stdoutzException information:)
�sys�exit�	Exception�print�_�stderr�version_info�
subprocessZcall�ImportError�OSError�	tracebackZ	print_exc)�callbackZbug_report_url�versionZexrr�r�6/usr/lib/python3/dist-packages/CommandNotFound/util.py�crash_guards0r)�
__future__rrr	rZ_gettext_method�getattr�translationr
r�__all__rrrr�<module>s