%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/uaclient/timer/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/uaclient/timer/__pycache__/update_contract_info.cpython-312.pyc

�

�Hcf����ddlZddlmZmZddlmZddlmZddlm	Z	ddl
mZejeje��Zdedefd	�Zy)
�N)�contract�util)�_is_attached)�UAConfig)�notices)�Notice�cfg�returnc�Z�t|�jr_	tj|�r$t	j
tj�yt	jtj�	yy#t$r+}tjdt|�|��Yd}~yd}~wwxYw)Nz:Failed to check for change in machine contract. Reason: %s)�exc_infoFT)
r�is_attachedr�is_contract_changedr�addr�CONTRACT_REFRESH_WARNING�remove�	Exception�LOG�warning�str)r	�es  �E/usr/lib/python3/dist-packages/uaclient/timer/update_contract_info.py�update_contract_infors����C��$�$�	��+�+�C�0�����3�3�������3�3�����	��K�K�L��A���
�
�
��
	�s�8A6�#A6�6	B*�?!B%�%B*)�logging�uaclientrr�(uaclient.api.u.pro.status.is_attached.v1r�uaclient.configr�uaclient.filesr�uaclient.files.noticesr�	getLogger�replace_top_level_logger_name�__name__r�boolr��r�<module>r%sJ���#�A�$�"�)��g���:��:�:�8�D�E���h��4�r$

Zerion Mini Shell 1.0