%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/system-config-printer/troubleshoot/__pycache__/
Upload File :
Create Path :
Current File : //usr/share/system-config-printer/troubleshoot/__pycache__/VerifyPackages.cpython-312.pyc

�

Hf�
��L�ddlmZddlZddl�ddlZddlmZGd�de�Zy)�)�GtkN�)�*)�TimedSubprocessc�$�eZdZd�Zd�Zd�Zd�Zy)�VerifyPackagesc�z�tj||d�|jtj�|�y)NzVerify packages)�Question�__init__�new_pager�Label)�self�troubleshooters  �?/usr/share/system-config-printer/troubleshoot/VerifyPackages.pyrzVerifyPackages.__init__s+�����4��1B�C��������t�4�c
��i|_i}d}tj|tj�sygd�}|jj�}tjj�}d|d<|D]o}|d|g}	t||d|tjtjtj��|_|jj�\}}	}
|dd	||<�q||jd
<y#YyxYw)Nz/bin/rpmF)�cups�foomatic�
gutenprint�hpijs�hplipzsystem-config-printer�C�LC_ALLz-VT)�parent�args�	close_fds�env�stdin�stdout�stderr����packages_verification)�answers�os�access�X_OKr�
get_window�environ�copyr�
subprocess�DEVNULL�PIPE�op�run)rr"�package_manager�packagesr�new_environ�package�verification_args�verif_stdout�verif_stderr�results           r�displayzVerifyPackages.display"s������ "��"���y�y�/�2�7�7�3��-���$�$�/�/�2���j�j�o�o�'�� #��H���	?�G�!0�$�� @��
�)�&�0A�59�/:�1;�1C�1C�2<�/�/�2<�2D�2D�
F���8<�w�w�{�{�~�4��|�V�.:�#�2�->�!�'�*�	?� 1F����,�-���

��s
�=AC6�6C;c��|jS�N)r#�rs r�collect_answerzVerifyPackages.collect_answerHs���|�|�rc�8�|jj�yr9)r-�cancelr:s r�cancel_operationzVerifyPackages.cancel_operationKs�������rN)�__name__�
__module__�__qualname__rr7r;r>�rrrrs��5�$�L�rr)	�
gi.repositoryrr*�baser$�timedopsrr
rrBrr�<module>rFs"��,���	�$�/�X�/r

Zerion Mini Shell 1.0