HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/thread-self/root/usr/libexec/kcare/python/kcarectl/__pycache__/update_utils.cpython-38.pyc
U

n�h��@s@ddlZddlZddlmZmZmZdZd
dd�Zddd	�ZdS)�N�)�config�	constants�utilsi,�.kcarestatuscCs$tj�tj|�}t�|t���dS)N)�os�path�joinr�PATCH_CACHEr�atomic_write�
timestamp_str)�filename�status_filepath�r�2/usr/libexec/kcare/python/kcarectl/update_utils.py�touch_status_gap_file
src	Cs�tj�tj|�}tj�|�r�t|d��V}z:t|���}t|�t	j
tt��kr`WW5QR�dSWnt
k
rvYnXW5QRXdS)N�rFT)rrr	rr
�isfile�open�int�readr�STATUS_CHANGE_GAP�STATUS_CHANGE_GAP_DELAY�time�	Exception)r
r�sfile�	timestamprrr�status_gap_passedsr)r)r)	rr�rrrrrrrrrr�<module>s